1.0.5 • Published 3 years ago

react-secret-input v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-secret-input

An input of type password implemented with React and TypeScript

Install

yarn add react-secret-input

Usage

import React, { useState } from "react";
import ReactSecretInput from "react-secret-input";

function App() {
  const [value, setValue] = useState("");

  return (
    <div className="App">
      <h1>react-secret-input 🌰</h1>
      <h3>value:{value}</h3>
      <ReactSecretInput value={value} onChange={setValue} />
    </div>
  );
}

export default App;

Demo

react-secret-input

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago