@cn-ui/core
Version:
The @cn-ui/core is a collection of UI components and utilities for building modern web applications with SolidJS.
16 lines (15 loc) • 680 B
TypeScript
import type { SelectOptionsType } from "@cn-ui/reactive";
import "../animation/cn-list.css";
import { type BaseFormItemType } from "../form/BaseFormItemType";
import { type SelectPanelProps } from "./SelectPanel";
import "./index.css";
export interface SelectProps extends BaseFormItemType {
/** TODO 异步态监控 */
options: SelectOptionsType[];
multiple?: boolean;
disabledOptions?: string[];
onInput?: (text: string) => void;
filterable?: boolean;
optionRender?: SelectPanelProps["children"];
}
export declare const Select: import("solid-js").Component<import("@cn-ui/reactive").OriginComponentOutputType<SelectProps, HTMLDivElement, string[]>>;