@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
23 lines (22 loc) • 910 B
TypeScript
import { SelectProps } from "./select.types.js";
import { SelectButton } from "./selectButton.js";
import { SelectContent } from "./selectContent.js";
import { SelectGroup } from "./selectGroup.js";
import { SelectOption } from "./selectOption.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 {
export { SelectButton as Button };
export { SelectContent as Content };
export { SelectGroup as Group };
export { SelectOption as Option };
export var displayName: string;
}
//#endregion
export { Select, Select as default };
//# sourceMappingURL=select.d.ts.map