Represents options for an input.
The InputOptions
interface provides a set of properties that control the
behavior and appearance of an input. These options include settings for the
input label, input label position, value, value setter, disabled state, and suffix.
Extended by#
-
CheckboxOptions
-
ColorInputOptions
-
NumberInputOptions
-
SelectOptions
-
SliderOptions
-
TextAreaOptions
-
TextInputOptions
Type Parameters#
Type Parameter | Default type |
---|---|
T | - |
P | "top" |
Properties#
Property | Type |
---|---|
inputLabel? | string |
inputLabelPosition? | P |
value | T |
setValue | (value ) => void |
isDisabled? | boolean |
suffix? | Partial <Omit <ButtonOptions , "label" |