1.1.1 • Published 2 years ago

mui-otp-input-field v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

license ts npm

Installation

// with npm
npm install mui-otp-input-field@latest

Usage

import { useState } from "react";
import { MuiOtp } from "mui-otp-input-field";

const MyComponent = () => {
  const [otp, setOtp] = useState("");

  const handleChange = (newValue) => {
    setOtp(newValue);
  };

  return <MuiOtp value={otp} onChange={handleChange} />;
};

API Reference ( Props to the MuiOtp Component )

Note:Default selector for these hooks is "otp-container"

Please file an issue for bugs, missing documentation, or unexpected behavior.

Please raise an issue for any feature requests.

MIT

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago