Type Alias: StringFieldProps<T, InputProps>
StringFieldProps<
T,InputProps> =object&InputLabelProps&InputProps
Defined in: lib/forms/StringField.tsx:15
Props for the StringField component. Extends InputLabelProps and InputProps with additional string-specific properties.
Type declaration
field
field:
T
The field configuration atom
inputClassName?
optionalinputClassName:string
Additional CSS classes for the input
placeholder?
optionalplaceholder:string
The placeholder text for the input
placeholderRaw?
optionalplaceholderRaw:boolean
Whether to use raw (untranslated) placeholder text
unit?
optionalunit:string
Text to display after the value (not translated)
Type Parameters
T
T extends FieldConfigAtom<any>
InputProps
InputProps extends React.ComponentProps<typeof Input>