terra-form
Version:
Components for building forms
22 lines (18 loc) • 485 B
JSX
import React from 'react';
import NumberField from '../../../lib/NumberField';
const numberField = () =>
<NumberField
id="populated-number-field"
label="Sales Tax Rate"
name="sales_tax_rate"
defaultValue={0.075}
error="This field is required"
help="Your county's office may have this information"
required
max={1}
min={0}
step={0.1}
inputAttrs={{ className: 'healtheintent-application' }}
isInline
/>;
export default numberField;