@alitajs/gesture-password-react
v1.3.0
Published
GesturePassword react component
Downloads
207
Keywords
Readme
install
// npm
npm install @alitajs/gesture-password-react --save
// yarn
yarn add @alitajs/gesture-password-react
usage
import React from 'react';
import GesturePassword from '@alitajs/gesture-password-react';
export default () => {
const config = {
width: 375,
height: 300,
onChange: (data: any) => console.log(data) // get gesture password
};
return <GesturePassword {...config} />;
};