diff --git a/packages/docz/src/components/DocPreview.tsx b/packages/docz/src/components/DocPreview.tsx index ee8f7c0dc..a80993010 100644 --- a/packages/docz/src/components/DocPreview.tsx +++ b/packages/docz/src/components/DocPreview.tsx @@ -67,8 +67,13 @@ export interface DocPreviewProps { } export const DocPreview: SFC = ({ - components = defaultComponents, + components: themeComponents = {}, }) => { + const components = { + ...defaultComponents, + ...themeComponents, + } + const Page = components.page const NotFound = components.notFound const LoadingComponent = components.loading