diff --git a/site/components/docs-layout.tsx b/site/components/docs-layout.tsx index 2ad3b51..c566c33 100644 --- a/site/components/docs-layout.tsx +++ b/site/components/docs-layout.tsx @@ -7,6 +7,7 @@ import Logo from '../assets/logo-small.svg'; const TableItem: React.FC<{ href: string; + children?: React.ReactNode; }> = ({ children, href }) => ( @@ -15,7 +16,9 @@ const TableItem: React.FC<{ ); -const TableHeader: React.FC = ({ children }) => ( +const TableHeader: React.FC<{ + children?: React.ReactNode; +}> = ({ children }) => ( {children} diff --git a/site/components/emoji-button.tsx b/site/components/emoji-button.tsx index f67b154..3151513 100644 --- a/site/components/emoji-button.tsx +++ b/site/components/emoji-button.tsx @@ -1,6 +1,7 @@ export const EmojiButton: React.FC<{ onClick: () => void; emoji: string | JSX.Element; + children?: React.ReactNode; }> = ({ onClick, children, emoji }) => (