UNPKG

@quanxi/ui

Version:

全悉组件库

20 lines (19 loc) 749 B
import React from "react"; import type { QFWithOperatorItem } from "../type"; import "../style.scss"; type FieldValue = string | number | boolean | Array<string | number | boolean> | undefined; export default function Item({ value: propValue, field, placeholder, shadow, inputWidth: propsInputWidth, onChange, columns, disabled, showHighLight: propsShowHighLight }: { value: { value?: FieldValue; operator?: string; }; shadow?: boolean; field: QFWithOperatorItem; inputWidth?: number; onChange: (key: string, value: FieldValue, oper: string, validatePass: boolean) => void; columns?: number; placeholder?: string; disabled?: boolean; showHighLight?: boolean; }): React.JSX.Element; export {};