password input based on antd's Input.
npm i antd-input-password --saveimport InputPassword from 'antd-input-password';
ReactDOM.render(
<InputPassword tooltip={{ ... }} />
, mountNode);| name | type | default | description |
|---|---|---|---|
| tooltip | Object | { show: '', hide: '' } | tooltip text on icon |
npm install
npm run start
antd-input-password is released under the MIT license.