UNPKG

@quanxi/ui

Version:

全悉组件库

17 lines (16 loc) 742 B
import React from "react"; import type { OperatorOptionsType, QuickFilterItem } from "../type"; import "../style.scss"; export default function Item({ value: propValue, field, placeholder, shadow, inputWidth: propsInputWidth, onChange, columns, disabled, showHighLight: propsShowHighLight, enableOperators, extraOperatorOptions, }: { value: any; shadow?: boolean; field: QuickFilterItem; inputWidth?: number; onChange: (key: string, value: any, operatorOrValidate?: string | boolean, validatePass?: boolean) => void; columns?: number; placeholder?: string; disabled?: boolean; showHighLight?: boolean; enableOperators?: boolean; extraOperatorOptions?: OperatorOptionsType[]; }): React.JSX.Element;