1.0.0 • Published 8 years ago
react-keycode-input v1.0.0
react-keycode-input is a cool react component for inputing many kinds of codes
Installation
npm install --save react-keycode-inputUsage
import KeycodeInput from 'react-keycode-input'
class Demo extends React.Component {
render () {
return <KeycodeInput />
}
}You can also use the modal version of this component by
import KeycodeInputModal from 'react-keycode-input/modal'It utilizes ant design Modal component, so be sure you have antd installed
Example
An example is provided in example
1.0.0
8 years ago