feat: created a number input component (base and formik)

fix: replace numeric TextInput fields on the Cashout, Commissions,
Cashboxes, Notifications, Operator Info and Terms & Conditions pages

fix: change the way the number format is defined on the component

fix: parameterize the number of decimal places in the in the number
input and set it's value for the current number inputs on the admin
This commit is contained in:
Liordino Neto 2020-08-05 20:12:12 -03:00 committed by Josh Harvey
parent 72a1b798f8
commit 27da8cc025
13 changed files with 195 additions and 46 deletions

View file

@ -1,8 +1,17 @@
import Autocomplete from './Autocomplete'
import Checkbox from './Checkbox'
import NumberInput from './NumberInput'
import RadioGroup from './RadioGroup'
import SecretInput from './SecretInput'
import Switch from './Switch'
import TextInput from './TextInput'
export { Checkbox, TextInput, Switch, SecretInput, RadioGroup, Autocomplete }
export {
Checkbox,
TextInput,
NumberInput,
Switch,
SecretInput,
RadioGroup,
Autocomplete
}