Build select 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

    • key: string

      Key

    Returns ReactElement