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