fix(select): import HiddenSelect and UseSelectProps (#3368)

* fix(select): import HiddenSelect and UseSelectProps

* chore: merge import
This commit is contained in:
Ryo Matsukawa 2024-07-06 16:28:12 +09:00 committed by GitHub
parent 7cc1bd78a3
commit 1cd64b2e2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@nextui-org/select": patch
---
Fixed import HiddenSelect and UseSelectProps (#3356)

View File

@ -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};