Skip to content

Commit

Permalink
fix: Button Prop types (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Mar 6, 2024
1 parent df14dec commit f2c3025
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-dolls-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bits-ui": patch
---

Button: fixed `Button.Props` type resolution issue
4 changes: 2 additions & 2 deletions src/lib/bits/button/_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

import type { Builder } from "$lib/internal/index.js";

type Props = Expand<{
type Props = {
/**
* Melt UI builders to apply to the button component.
*/
builders?: Builder[];
}>;
};

export type { Props };

0 comments on commit f2c3025

Please sign in to comment.