Skip to content

WilliamCuiX/react-handwriting-keyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-handwriting-keyboard

A React Component to handwriting keyboard

Installation

npm install react-handwriting-keyboard

Usage

import React from 'react';
import keyboard from 'react-handwriting-keyboard';

function InputComponent() {
  const showKeyboard = (e) => {
    const input = e.target;
    keyboard.show({
      target: e.target,
      onChange: (value) => {
        console.log('value: ', value);
        input.value = value;
      },
    });
  };
  return <input type="text" onClick={showKeyboard} />
}

React.render(
  <InputComponent />,
  mountNode
);

About

A React Component to Handwriting Keyboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published