Demos
Empty
<DataInput.FirstNameonChange={(value) => console.log('onChange', value)}/>
Placeholder
<DataInput.FirstNameplaceholder="Enter email address..."onChange={(value) => console.log('onChange', value)}/>
Label
<DataInput.FirstNamelabel="Label text"onChange={(value) => console.log('onChange', value)}/>
Label and value
<DataInput.FirstNamelabel="Label text"value="John"onChange={(value) => console.log('onChange', value)}/>
Disabled
<DataInput.FirstNamevalue="John"label="Label text"onChange={(value) => console.log('onChange', value)}disabled/>
Error
This is what is wrong...
<DataInput.FirstNamevalue="Unnamed"label="Label text"onChange={(value) => console.log('onChange', value)}error={new FormError('This is what is wrong...')}/>
Validation - Required
<DataInput.FirstNamevalue="John"label="Label text"onChange={(value) => console.log('onChange', value)}required/>