Skip to content

Commit

Permalink
fix: correct Banner children type (#3401)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewalczak authored Oct 13, 2022
1 parent 111a034 commit 55b2d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type Props = $RemoveChildren<typeof Surface> & {
/**
* Content that will be displayed inside banner.
*/
children: string;
children: React.ReactNode;
/**
* Icon to display for the `Banner`. Can be an image.
*/
Expand Down

0 comments on commit 55b2d25

Please sign in to comment.