import { TComponentOmitProps } from "../../frontend-engine"; import { IBaseFieldSchema, IComplexLabel } from "../types"; import { IYupValidationRule } from "../../../context-providers"; export interface IChipOption { label: string; value: string; disabled?: boolean | undefined; } export interface IChipsSchema extends IBaseFieldSchema<"chips", V>, TComponentOmitProps> { options: IChipOption[]; textarea?: { label: string | IComplexLabel; validation?: (V | IYupValidationRule)[]; resizable?: boolean; rows?: number; placeholder?: string; }; }