import { InputText } from 'welcome-ui/InputText'const Example = () => {return <InputText name="firstName" placeholder="Welcome" />}export default Example
Variants
Use warning, danger, or success properties to add a variant status on your input text.
Disabled
Property disabled can be pass to the component or Field component
Sizes
Use size property with option:
sm(25px)md(33px)lg(43px - default)
Icon
Pass an icon through to decorate your InputText.
Use iconPlacement to put on left (default) or right.
Clearable
Use the isClearable prop to add a cross button to remove the content (value) of the TextInput
Transparent
Pass transparent to remove background-color and border-color