react-currency-input-mask
ReactJS simple currency input field
Install
npm i react-currency-input-mask --save
GitLab
https://gitlab.com/damjan89/react-money
Usage
React >= 16.9.0
Styling Component
In this.state.config add your class name!
To style input field:
.yourClassName .reactMoneyInput {
//yourStyle
}
To style prefix:
.yourClassName .reactMoneyInputGroupPrepend {
//yourStyle
}
To style suffix:
.yourClassName .reactMoneyInputGroupAppend {
//yourStyle
}
License
MIT © Nick Dam