react-random-numpad
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

react-random-numpad

dependencies Status Build Status semantic-release

A random genarated number pad for react

Screenshot

See Demo and Documentation.

Props

The component takes the following props.

Prop Type Default Description
className string - Additional classnames for the component
supportDecimal boolean false Include decimal point support in the numpad
onChange function - Callback function to invoke when a number is pressed

Installation

npm install react-random-numpad --save

Usage

import RandomNumpad from "react-random-numpad";
import "react-random-numpad/dist/style.min.css";
 
<RandomNumpad
  supportDecimal={false}
  onChange={() => {}}
  classNames="custom-class"
/>

License

MIT Licensed. Copyright (c) Farhad Yasir 2019.

Readme

Keywords

Package Sidebar

Install

npm i react-random-numpad

Weekly Downloads

8

Version

1.0.0

License

MIT

Unpacked Size

6.49 kB

Total Files

5

Last publish

Collaborators

  • nutboltu