@breadhead/phone-input-ru

formatting phone input with russian country code

Usage no npm install needed!

<script type="module">
  import breadheadPhoneInputRu from 'https://cdn.skypack.dev/@breadhead/phone-input-ru';
</script>

README

phone-input-ru

formatting phone input with russian country code

installation

yarn add @breadhead/phone-input-ru

usage

import PhoneInput from '@breadhead/phone-input-ru'

<PhoneInput name="phone" />
interface Props {
  name: string
  className?: string
  onChange?: (value: string) => void
  onBlur?: () => void
  onFocus?: () => void
  required?: boolean
  autoFocus?: boolean
}