diff --git a/lib/component/input/SelectInput.tsx b/lib/component/input/SelectInput.tsx index f0ea3ec..19ad8e4 100644 --- a/lib/component/input/SelectInput.tsx +++ b/lib/component/input/SelectInput.tsx @@ -18,24 +18,22 @@ export default function SelectInput(props: SelectInputProps){ value={value} onChange={onChange} > -
- - {label} - - - - {children} - -
+ {label} + + + + {children} + ); } diff --git a/lib/component/input/TextArea.tsx b/lib/component/input/TextArea.tsx new file mode 100644 index 0000000..d5d0633 --- /dev/null +++ b/lib/component/input/TextArea.tsx @@ -0,0 +1,61 @@ +import type { TextAreaProps } from "$/types/Input"; +import clsx from "clsx"; + + +export default function TextArea({ + id = crypto.randomUUID().replaceAll("-", ""), + className, + inputClassName, + labelClassName, + maxLength, + rows, + cols, + spellCheck, + placeholder, + defaultValue, + value, + onChange, + disabled +}: TextAreaProps){ + return ( +
+
+