Skip to content

s4kr4/react-input-shortcut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-input-shortcut

Build Status

Make typing shortcut keys easily.

Description

With this component, you can type shortcut keys (i.e. 'Ctrl+Q', 'Ctrl+Alt+Q', ...) easily.
For example, if you want to type 'Ctrl+Q', only you have to do is hit 'Q' key with 'Ctrl'.

Installation

$ npm install --save react-input-shortcut
or
$ yarn add react-input-shortcut

Usage

import React, { Component } from 'react';

import InputShortcut from 'react-input-shortcut';

class App extends Component {
  render() {
    return (
      <div className="App">
        <InputShortcut />
      </div>
    );
  }
}

API

API Effect
allowNumber Enable using number(i.e. 'Ctrl+1')

LICENSE

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published