pinfield
TypeScript icon, indicating that this package has built-in type declarations

1.1.8 • Public • Published

pinfield

This little react-library handles the visualize features of a mobile lock-screen. This package comes with default styles from material-ui, because the styling should come from you.

NPM JavaScript Style Guide

Install

npm install --save pinfield
or
yarn add pinfield

Usage

import React from "react";
import { NumberLock, PatternLock } from "pinfield";

const Example: React.FC = () => {
  return (
    <>
      <NumberLock />
      <PatternLock gridSize={3} fields={[1, 2, 3, 4, 5, 6, 7, 8, 9]} />
    </>
  );
};

Props

NumberLock

PatternLock

License

MIT © tendo14

Readme

Keywords

none

Package Sidebar

Install

npm i pinfield

Weekly Downloads

0

Version

1.1.8

License

MIT

Unpacked Size

25.3 kB

Total Files

14

Last publish

Collaborators

  • tendo14