@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
15 lines (14 loc) • 699 B
TypeScript
import { type SlotComponent } from "@1771technologies/lytenyte-core/yinternal";
export type SelectOption = {
label: string;
value: string;
};
export interface OperatorSelectSlotProps {
readonly options: SelectOption[];
readonly value: SelectOption | null;
readonly onChange: (v: SelectOption) => void;
}
export interface OperatorSelectProps {
readonly as?: SlotComponent<OperatorSelectSlotProps>;
}
export declare const OperatorSelect: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLSelectElement> & import("react").SelectHTMLAttributes<HTMLSelectElement> & OperatorSelectProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;