mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(select): import HiddenSelect and UseSelectProps (#3368)
* fix(select): import HiddenSelect and UseSelectProps * chore: merge import
This commit is contained in:
parent
7cc1bd78a3
commit
1cd64b2e2e
5
.changeset/lucky-tomatoes-tap.md
Normal file
5
.changeset/lucky-tomatoes-tap.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@nextui-org/select": patch
|
||||
---
|
||||
|
||||
Fixed import HiddenSelect and UseSelectProps (#3356)
|
||||
@ -3,15 +3,17 @@ import type {ListboxItemProps, ListboxSectionProps} from "@nextui-org/listbox";
|
||||
import {ListboxItem, ListboxSection} from "@nextui-org/listbox";
|
||||
|
||||
import Select from "./select";
|
||||
import {HiddenSelect} from "./hidden-select";
|
||||
|
||||
// export types
|
||||
export type {SelectProps} from "./select";
|
||||
export type {ListboxItemProps as SelectItemProps};
|
||||
export type {ListboxSectionProps as SelectSectionProps};
|
||||
export type {SelectedItemProps, SelectedItems} from "./use-select";
|
||||
export type {UseSelectProps} from "./use-select";
|
||||
|
||||
// export hooks
|
||||
export {useSelect} from "./use-select";
|
||||
|
||||
// export component
|
||||
export {Select, ListboxItem as SelectItem, ListboxSection as SelectSection};
|
||||
export {Select, HiddenSelect, ListboxItem as SelectItem, ListboxSection as SelectSection};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user