Skip to content

Commit

Permalink
- added Function type in ComponentChild
Browse files Browse the repository at this point in the history
  • Loading branch information
sant123 committed Jul 6, 2024
1 parent 57bd5d0 commit 2d439ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ export type ComponentChild =
| bigint
| boolean
| null
| undefined;
| undefined
| Function;
export type ComponentChildren = ComponentChild[] | ComponentChild;

export interface Attributes {
Expand Down

0 comments on commit 2d439ac

Please sign in to comment.