1.0.0 • Published 5 years ago

react-random-numpad v1.0.0

Weekly downloads
17
License
MIT
Repository
github
Last release
5 years ago

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.

PropTypeDefaultDescription
classNamestring-Additional classnames for the component
supportDecimalbooleanfalseInclude decimal point support in the numpad
onChangefunction-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.

1.0.0

5 years ago