Component prop mode

October 15, 2022 · View on GitHub

Prop mode usually use in component Input、Textarea, used to control maximum number of characters

Usage

import { Input } from 'lvlgjs-ui'

function Component () {
    return (
        <Input maxLength={90} >
    )
}