UNPKG

jb-mobile-input-react

Version:
34 lines (21 loc) 1.38 kB
> [!WARNING] > this package is deprecated and moved to [jb-mobile-input/react](https://github.com/javadbat/jb-mobile-input/tree/main/react) # jb-mobile-input-react superset component on [jb-input-react](https://github.com/javadbat/jb-input-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 ```bash npm install --save jb-mobile-input-react ``` ## Usage ```jsx import { JBMobileInput } from 'jb-mobile-input-react'; const App = () => ( <JBMobileInput /> ) ``` for more information like events, styling,... just read [jb-input-react](https://github.com/javadbat/jb-input-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://github.com/javadbat/design-system/blob/master/docs/component-list.md) for more components - use [Contribution Guide](https://github.com/javadbat/design-system/blob/master/docs/contribution-guide.md) if you want to contribute in this component.