diff --git a/components/molecules/form-text-input/component.tsx b/components/molecules/form-text-input/component.tsx new file mode 100644 index 0000000..b3123a3 --- /dev/null +++ b/components/molecules/form-text-input/component.tsx @@ -0,0 +1,34 @@ +import { cn } from '@/lib/cn'; +import TextInput from '@/components/atoms/text-input'; + +interface FormTextInputProps extends React.ComponentProps { + label: string; + labelClassName?: string; + containerClassName?: string; +} + +export const FormTextInput: React.FC = ({ + label, + labelClassName, + containerClassName, + id, + ...props +}) => { + return ( +
+ + +
+ ); +}; \ No newline at end of file diff --git a/components/molecules/form-text-input/index.ts b/components/molecules/form-text-input/index.ts new file mode 100644 index 0000000..ac39062 --- /dev/null +++ b/components/molecules/form-text-input/index.ts @@ -0,0 +1,2 @@ +export { FormTextInput as default } from './component'; +export * from './component'; \ No newline at end of file