Skip to content

Commit

Permalink
chore(select): add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav700 committed Feb 2, 2025
1 parent 4c03fc7 commit 5d35478
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/three-socks-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@heroui/select": patch
---

add `isClearable` and `onClear` prop to Select component (#2239
2 changes: 2 additions & 0 deletions apps/docs/content/components/select/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import virtualization from "./virtualization";
import virtualizationTenThousand from "./virtualization-ten-thousand";
import virtualizationCustomItemHeight from "./virtualization-custom-item-height";
import virtualizationMaxListboxHeight from "./virtualization-max-listbox-height";
import isClearable from "./is-clearable";

export const selectContent = {
usage,
Expand Down Expand Up @@ -66,4 +67,5 @@ export const selectContent = {
virtualizationTenThousand,
virtualizationCustomItemHeight,
virtualizationMaxListboxHeight,
isClearable,
};
2 changes: 1 addition & 1 deletion apps/docs/content/docs/components/select.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ the popover and listbox components.
},
{
attribute: "isClearable",
type: boolean,
type: "boolean",
description: "Whether clear button is visible or not.",
default: "false"
},
Expand Down

0 comments on commit 5d35478

Please sign in to comment.