@trail-ui/react
Version:
15 lines (10 loc) • 552 B
text/typescript
import type { ListBoxItemProps, ListBoxSectionProps } from '../listbox';
import { ListBoxItem, ListBoxSection } from '../listbox';
import CustomSelect from './customSelect';
import { Select } from './select';
// export types
export type { SelectProps } from './select';
export type { ListBoxItemProps as SelectItemProps, ListBoxSectionProps as SelectSectionProps };
export type { CustomSelectProps, BaseOption } from './customSelect';
// export component
export { Select, ListBoxItem as SelectItem, ListBoxSection as SelectSection, CustomSelect };