1.1.8 • Published 2 years ago
react-hook-format v1.1.8
Features
- Built with a focus on performance and usability
- Use in native HTML form
- Simplify number and field formatting
Install
npm install react-hook-format
Quickstart
import { useFormat } from 'react-hook-format';
function App() {
const { pattern } = useFormat();
return (
<form>
<input name="document" {...pattern('###.###.###-##')} />
<input name="price" {...pattern('R$#.###,##')} />
<input type="submit" />
</form>
);
}
Contributors
Thank you for being amazing people!
1.1.1
2 years ago
1.0.2
2 years ago
1.1.0
2 years ago
1.0.1
2 years ago
1.1.8
2 years ago
1.0.9
2 years ago
1.1.7
2 years ago
1.0.8
2 years ago
1.1.6
2 years ago
1.0.7
2 years ago
1.1.5
2 years ago
1.0.6
2 years ago
1.1.4
2 years ago
1.0.5
2 years ago
1.1.3
2 years ago
1.0.4
2 years ago
1.1.2
2 years ago
1.0.3
2 years ago
1.0.0
2 years ago