@encoreskytech/react-char-limit-hint
1.0.8 • Public • Published
Text Char limit Hint
Installation
npm i @encoreskytech/react-char-limit-hint
or
yarn add @encoreskytech/react-char-limit-hint
Examples
import NodeCharLimitInput from "@encoreskytech/react-char-limit-hint";
function App() {
return (
<NodeCharLimitInput charLimit={11} />
);
}
Props
Property |
Type (Default)
|
Description |
charLimit |
number |
Length of string which you want to limit |
parentContainerStyle |
string |
ClassName for parent component of input component |
inputStyle |
string |
ClassName for input component |
hintStyle |
string |
ClassName for hint text component |
onChange |
(text) => void |
callback function |
Contributor
Vishal Chaturvedi
Package Sidebar
Install
npm i @encoreskytech/react-char-limit-hint
Weekly Downloads