0.0.2 • Published 7 months ago

phoneinput-hook v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Использовать

import { applyPhoneInput } from 'phoneinput-hook';

export default () => {
  const handleChange = (e) => {
    console.log(e);
  };
  const handleRef = (ref) => {
    applyPhoneInput(ref, handleChange);
  };
  return <input ref={handleRef} />
};
0.0.2

7 months ago

0.0.1

8 months ago