README.md

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

import { applyPhoneInput } from 'phoneinput-hook';

export default () => {
  const handleRef = (ref) => {
    applyPhoneInput(ref);
  };
  return <input ref={handleRef} />
};