diff --git a/packages/app/src/components/Button.tsx b/packages/app/src/components/Button.tsx index f194d84..90f1deb 100644 --- a/packages/app/src/components/Button.tsx +++ b/packages/app/src/components/Button.tsx @@ -1,5 +1,3 @@ - - import React from 'react'; import styled from "styled-components"; import { useTheme, Button as MuiButton } from "@mui/material"; diff --git a/packages/app/src/components/DragAndDropTextBox.tsx b/packages/app/src/components/DragAndDropTextBox.tsx index 5402db5..da86c67 100644 --- a/packages/app/src/components/DragAndDropTextBox.tsx +++ b/packages/app/src/components/DragAndDropTextBox.tsx @@ -1,51 +1,3 @@ -// import React from "react"; -// import styled from 'styled-components'; -// import { useDragAndDrop } from '../hooks/useDragAndDrop'; - -// const DragAndDropTextBoxWrapper = styled.div` -// display: flex; -// flex-direction: column; -// align-items: center; -// border: 2px dashed #ccc; -// padding: 20px; -// `; - -// type Props = { -// onFileDrop: (file: File) => void; -// }; - -// const DragAndDropTextBox: React.FC = ({onFileDrop}) => { -// const { -// dragging, -// handleDragEnter, -// handleDragLeave, -// handleDragOver, -// handleDrop, -// handleDragEnd, -// } = useDragAndDrop(); - -// return ( -// handleDrop(e, onFileDrop)} -// > -// {dragging ? ( -//
Drop here
-// ) : ( -//
Drop .eml file here
-// )} -//
-// ); -// }; - -// export default DragAndDropTextBox; - - - - import React from "react"; import styled, { css, ThemeProvider } from 'styled-components'; import { useTheme } from "@mui/material/styles"; diff --git a/packages/app/src/components/EmailInputMethod.tsx b/packages/app/src/components/EmailInputMethod.tsx index 38f3ff0..8bfeebb 100644 --- a/packages/app/src/components/EmailInputMethod.tsx +++ b/packages/app/src/components/EmailInputMethod.tsx @@ -1,41 +1,3 @@ -// import { useState } from "react"; -// import { Button, OutlinedButton } from "./Button"; - -// const EmailInputMethod = ({ -// onClickGoogle, -// onClickEMLFile, -// }: { -// onClickGoogle: () => void; -// onClickEMLFile: () => void; -// }) => { -// return ( -//
-// -// or -// { -// onClickEMLFile(); -// }} -// > -// Upload email .eml file{" "} -// -//
-// ); -// }; - -// export default EmailInputMethod; - - - import { Button, OutlinedButton } from "./Button"; interface EmailInputMethodProps { diff --git a/packages/app/src/components/LabeledTextArea.tsx b/packages/app/src/components/LabeledTextArea.tsx index a4dc935..adf5ca7 100644 --- a/packages/app/src/components/LabeledTextArea.tsx +++ b/packages/app/src/components/LabeledTextArea.tsx @@ -1,104 +1,3 @@ -// import _ from "lodash"; -// import React, { CSSProperties } from "react"; -// import styled from "styled-components"; -// import { Col } from "./Layout"; - -// export const LabeledTextArea: React.FC<{ -// style?: CSSProperties; -// className?: string; -// label: string; -// value: string; -// warning?: string; -// warningColor?: string; -// disabled?: boolean; -// disabledReason?: string; -// secret?: boolean; -// onChange?: React.ChangeEventHandler; -// }> = ({ -// style, -// warning, -// warningColor, -// disabled, -// disabledReason, -// label, -// value, -// onChange, -// className, -// secret, -// }) => { -// return ( -// -// -// {warning && ( -// -// {warning} -// -// )} -//