@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
28 lines (27 loc) • 1.13 kB
TypeScript
import { VuiComponent } from "../core/vui.js";
import { ListProps } from "../list/list.types.js";
import { ListDivider } from "../list/listDivider.js";
import { ListHeading } from "../list/listHeading.js";
import { BoxProps } from "../box/box.types.js";
import { ButtonProps } from "../button/button.types.js";
import { SelectOptionProps, SelectProps } from "./select.types.js";
//#region src/select/select.d.ts
/**
* Wraps trigger and content elements, providing them with context.
* When no children are provided, content can be displayed based on 'options' data prop.
* Supports single select and multi select, as well as controlled and uncontrolled modes.
*/
declare function Select(props: SelectProps): import("react").JSX.Element;
declare namespace Select {
var Button: VuiComponent<"button", ButtonProps>;
var Content: VuiComponent<"div", BoxProps>;
var Group: VuiComponent<"ul", ListProps> & {
Divider: typeof ListDivider;
Heading: typeof ListHeading;
};
var Option: VuiComponent<"li", SelectOptionProps>;
var displayName: string;
}
//#endregion
export { Select };
//# sourceMappingURL=select.d.ts.map