Skip to content

Commit 9ca4ac2

Browse files
committed
chore: add ChildOnlyProp
1 parent 14fd24e commit 9ca4ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/BannerGrid/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const BannerBody = ({ children }: ChildOnlyProp) => {
1818
return <div className="w-full flex-[4] p-10">{children}</div>
1919
}
2020

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

0 commit comments

Comments
 (0)