1.1.1 • Published 11 days ago

mui-otp-input-field v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
11 days 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

11 days ago

1.1.0

14 days ago

1.0.9

14 days ago

1.0.8

14 days ago

1.0.7

14 days ago

1.0.6

14 days ago

1.0.5

14 days ago

1.0.4

15 days ago

1.0.3

15 days ago

1.0.2

15 days ago

1.0.1

15 days ago

1.0.0

15 days ago