Skip to content

Commit

Permalink
fix(select): import HiddenSelect and UseSelectProps (#3368)
Browse files Browse the repository at this point in the history
* fix(select): import HiddenSelect and UseSelectProps

* chore: merge import
  • Loading branch information
ryo-manba authored Jul 6, 2024
1 parent 7cc1bd7 commit 1cd64b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lucky-tomatoes-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/select": patch
---

Fixed import HiddenSelect and UseSelectProps (#3356)
4 changes: 3 additions & 1 deletion packages/components/select/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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};

0 comments on commit 1cd64b2

Please sign in to comment.