react-money-keyboard-simple
v0.0.7
Published
Lightweight and customizable React component that provides a virtual numeric keyboard designed specifically for money input fields.
Maintainers
Readme
🚀 Demo
📦 Installation & Usage
npm install react-money-keyboard-simple --save yarn add react-money-keyboard-simple
📖 Documentation
To run demo on your own computer
import React, { Component } from "react";
import { Keyboard } from "react-money-keyboard-simple";
import { IconBackSpace } from '~/assets';
const App = () => {
const handleBackspace = () => {};
const handleSubmit = () => {};
const handleNumberClick = (value: any) => {}
render() {
return (
<Keyboard
handleSubmit={handleSubmit}
handleBackspace={handleBackspace}
handleNumberClick={handleNumberClick}
BackspaceIcon={<IconBackSpace />}
titleBtnEnter='Pay'
/>
);
}
}Other versions
Questions? Join the chat
🎯 Compatibility
- Internet Explorer 11
- Edge (Spartan) 16+
- Edge (Anaheim/Edge Chromium) 79+
- Chrome 49+
- Safari 9+
- Firefox 57+
- iOS 9+
Note: If you don't want to support old browsers, you can use the Modern Browsers bundle.
✅ Contributing
PRs and issues are welcome. Feel free to submit any issues you have at: https://www.npmjs.com/package/react-money-keyboard-simple
