1.1.8 • Published 4 months ago

react-hook-format v1.1.8

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

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

4 months ago

1.0.2

4 months ago

1.1.0

4 months ago

1.0.1

4 months ago

1.1.8

4 months ago

1.0.9

4 months ago

1.1.7

4 months ago

1.0.8

4 months ago

1.1.6

4 months ago

1.0.7

4 months ago

1.1.5

4 months ago

1.0.6

4 months ago

1.1.4

4 months ago

1.0.5

4 months ago

1.1.3

4 months ago

1.0.4

4 months ago

1.1.2

4 months ago

1.0.3

4 months ago

1.0.0

4 months ago