Demos
Empty
<DataInput.CurrencyonChange={(value) => console.log('onChange', value)}/>
Placeholder
<DataInput.Currencyplaceholder="Enter a number"onChange={(value) => console.log('onChange', value)}/>
Label
<DataInput.Currencylabel="Amount"onChange={(value) => console.log('onChange', value)}/>
Label and value
<DataInput.Currencyvalue={150000}currency="NOK"label="Amount"onChange={(value) => console.log('onChange', value)}/>
Disabled
<DataInput.Currencyvalue={25000000}label="Label text"onChange={(value) => console.log('onChange', value)}disabled/>
Error
This is what is wrong...
<DataInput.Currencyvalue={12345678}label="Label text"onChange={(value) => console.log('onChange', value)}error={new FormError('This is what is wrong...')}/>
Validation - Required
<DataInput.Currencyvalue={42}label="Label text"onChange={(value) => console.log('onChange', value)}required/>