UNPKG

jb-mobile-input

Version:
33 lines (19 loc) 1.25 kB
# jb-mobile-input-react superset component on [jb-input/react](https://github.com/javadbat/jb-input/tree/main/react)) , just for mobile number input with extra filter and ready to use validator Demo: [codeSandbox preview](https://3f63dj.csb.app/samples/jb-mobile-input) for just see the demo and [codeSandbox editor](https://codesandbox.io/p/sandbox/jb-design-system-3f63dj?file=%2Fsrc%2Fsamples%2FJBMobileInput.tsx) if you want to see and play with code ## Installation ```sh npm install --save jb-mobile-input ``` ## Usage ```jsx import { JBMobileInput } from 'jb-mobile-input/react'; const App = () => ( <JBMobileInput /> ) ``` for more information like events, styling,... just read [jb-input](https://github.com/javadbat/jb-input) and [jb-input/react](https://github.com/javadbat/jb-input/tree/main/react) ## Other Related Docs: - see [jb-mobile-input](https://github.com/javadbat/jb-mobile-input) if you want to use this component as a pure-js web-component - see [All JB Design system Component List](https://javadbat.github.io/design-system/ - use [Contribution Guide](https://github.com/javadbat/design-system/blob/main/docs/contribution-guide.md) if you want to contribute in this component.