Skip to content

Commit

Permalink
fix(attrs): wrap component props with partial
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelchucks authored Jan 18, 2024
1 parent d926eb1 commit 994599a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type FirstLevelTemplate<
*/
attrs: <TProps = undefined>(
attrs:
| (Omit<React.ComponentProps<TComponent>, "className"> &
| (Omit<Partial<React.ComponentProps<TComponent>>, "className"> &
Record<string, any>)
| ((
props: ResultProps<TComponent, TProps, TExtraProps, TCompose>,
Expand Down

0 comments on commit 994599a

Please sign in to comment.