Skip to content

Commit

Permalink
fix(system): add "size" prop to HTMLNextUIProps (#1936)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgarciadev authored Nov 9, 2023
1 parent 57cafa0 commit a978687
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/hip-dingos-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/system-rsc": patch
---

Fix #1935 size prop added to the omitted HTMLNextUIProps
2 changes: 1 addition & 1 deletion packages/core/system-rsc/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export type Merge<M, N> = N extends Record<string, unknown> ? M : Omit<M, keyof

export type HTMLNextUIProps<T extends As = "div", OmitKeys extends keyof any = never> = Omit<
PropsOf<T>,
"ref" | "color" | "slot" | "defaultChecked" | "defaultValue" | OmitKeys
"ref" | "color" | "slot" | "size" | "defaultChecked" | "defaultValue" | OmitKeys
> & {
as?: As;
};
Expand Down

2 comments on commit a978687

@vercel
Copy link

@vercel vercel bot commented on a978687 Nov 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on a978687 Nov 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.