import type { StringFormField } from '@douglasneuroinformatics/libui-form-types'; import { Input, Label } from '#components'; import { FieldGroup } from '../FieldGroup/FieldGroup.tsx'; import type { BaseFieldComponentProps } from '../types.ts'; export type StringFieldInputProps = BaseFieldComponentProps & Extract; export const StringFieldInput = ({ description, disabled, error, label, name, placeholder, readOnly, setValue, value }: StringFieldInputProps) => { return ( setValue(event.target.value)} /> ); };