Skip to content

Commit

Permalink
chore: add ChildOnlyProp
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhburade committed Aug 19, 2024
1 parent 14fd24e commit 9ca4ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BannerGrid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const BannerBody = ({ children }: ChildOnlyProp) => {
return <div className="w-full flex-[4] p-10">{children}</div>
}

export const BannerImage = ({ children }) => {
export const BannerImage = ({ children }: ChildOnlyProp) => {
return <Flex className="flex-[2] justify-end self-end">{children}</Flex>
}

Expand Down

0 comments on commit 9ca4ac2

Please sign in to comment.