Hierarchy

Properties

id?: string

id html element id attribute

name?: string

element name attribute

placeholder?: string

element placeholder attribute

transform?: ((value) => unknown)

Type declaration

    • (value): unknown
    • optional transformer that will change the current value with each keypress. does not work with 'mask' prop. mainly used for trim().

      Parameters

      • value: string

      Returns unknown

type?: "number" | "text" | "password"

Input element type

Generated using TypeDoc