1.0.11 • Published 12 months ago

input-data-mask v1.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

Masks the input field strings with stars, even can't see by inspecting dom and change input type from password to text.

get value by using callback function called "getVal"


Install npm i star-mask


Example:


import React from "react";

import InputFieldMak from "input-field-mask";

function App() {

const inVal, setInVal = React.useState("");

return (

<div className="App">
  <InputFieldMak getVal={(val)=>setInVal(val)}/>
</div>

); }

export default App;