diff --git a/app/components/form/TextArea/index.tsx b/app/components/form/TextArea/index.tsx new file mode 100644 index 00000000..a324a2d7 --- /dev/null +++ b/app/components/form/TextArea/index.tsx @@ -0,0 +1,42 @@ +import { ToolTip } from '~/components/Common/InfoToolTip' +import { classNames } from '~/utils' + +export const TextArea = ({ + label, + toolTip, + formName, + placeholder = 'Paste your data here...' +}: { + label?: string + formName?: string + toolTip?: string + placeholder?: string +}) => { + const inputClassnames = classNames( + 'flex flex-1 items-center gap-1', + toolTip ? 'relative' : '' + ) + return ( +
+ {label && ( +
+ + {toolTip && } +
+ )} +
+