Component prop mode

October 15, 2022 · View on GitHub

Prop mode usually use in component Input、Textarea

Value

mode with following value

  • password, enable password mode, the input text will change to *

Usage

import { Input } from 'lvlgjs-ui'

function Component () {
    return (
        <Input mode="password" >
    )
}