Function _inputItem

    Build input item

    • Parameters

      • item: {
            default?: string | number | boolean;
            label: string;
            options?: string[];
            props?: any;
            rules?: {
                max?: number;
                message?: string;
                min?: number;
                required?: boolean;
            }[];
            secret?: boolean;
            tooltip?: string;
            type:
                | "password"
                | "input"
                | "select"
                | "textarea";
            value?: string | number | boolean;
        }

        Item

        • Optionaldefault?: string | number | boolean
        • label: string
        • Optionaloptions?: string[]
        • Optionalprops?: any
        • Optionalrules?: {
              max?: number;
              message?: string;
              min?: number;
              required?: boolean;
          }[]
        • Optionalsecret?: boolean
        • Optionaltooltip?: string
        • type:
              | "password"
              | "input"
              | "select"
              | "textarea"
        • Optionalvalue?: string | number | boolean
      • key: string

        Key

      • OptionalinputRef: RefObject<InputRef>

      Returns ReactElement<any, string | JSXElementConstructor<any>>

    Generated using TypeDoc and TypeDoc Airthium Plugin