diff --git a/packages/fakeyou.com/src/components/common/Input/Input.tsx b/packages/fakeyou.com/src/components/common/Input/Input.tsx deleted file mode 100644 index 11dff877a5..0000000000 --- a/packages/fakeyou.com/src/components/common/Input/Input.tsx +++ /dev/null @@ -1,92 +0,0 @@ -import React from "react"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { IconDefinition } from "@fortawesome/fontawesome-svg-core"; -import "./Input.scss"; -import { - default as ReactSelect, - Props as ReactSelectProps, -} from "react-select"; - -interface InputProps extends React.InputHTMLAttributes { - icon?: IconDefinition; - label?: string; - textArea?: boolean; -} - -interface TextAreaProps - extends React.TextareaHTMLAttributes { - label?: string; - textArea?: boolean; -} - -interface SelectProps extends ReactSelectProps { - icon?: IconDefinition; - label?: string; - rounded?: boolean; -} - -export function Input({ label, icon, textArea, ...rest }: InputProps) { - return ( -
- {label && } - -
- {icon && ( - - )} - -
-
- ); -} - -export function TextArea({ label, textArea, ...rest }: TextAreaProps) { - return ( -
- {label && } - -
-