Skip to content

Commit bdecec4

Browse files
committed
chore(FluentDocsContainer): add missing children type
1 parent f21817d commit bdecec4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/chart-docsite/src/DocsComponents/FluentDocsContainer.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ interface FluentDocsContainerProps {
1111
/**
1212
* A container that wraps storybook's native docs container to add extra components to the docs experience
1313
*/
14-
export const FluentDocsContainer: React.FC<FluentDocsContainerProps> = ({ children, context }) => {
14+
export const FluentDocsContainer: React.FC<React.PropsWithChildren<FluentDocsContainerProps>> = ({
15+
children,
16+
context,
17+
}) => {
1518
return (
1619
<>
1720
{/** TODO add table of contents */}

0 commit comments

Comments
 (0)