1.0.2 • Published 6 years ago
flexkeypadnumber v1.0.2
flexKeypad
An auto resizing numeric keypad in react
Usage:
Import
import { FlexKeypad } from 'flexkeypadnumber/es/FlexKeypad'
import { withSizeUpdates } from 'flexkeypadnumber/es/SizeHOC'
withSizeUpdates creates a HOC from FlexKeypad to receive the height and width
const FlexKeypadHOC = withSizeUpdates(FlexKeypad);
Render HTML
FlexKeypadHOC open={this.state.open} close={this.CloseFlexKeypad.bind(this)}