Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(select): import HiddenSelect and UseSelectProps #3368

Merged
merged 2 commits into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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";
ryo-manba marked this conversation as resolved.
Show resolved Hide resolved

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