Norbert de Langen c2bbe43d02
stage0
2022-07-21 11:24:07 +02:00

16 lines
497 B
JavaScript

/* eslint-disable react/prop-types */
import React from 'react';
import 'nextra-theme-docs/style.css';
import { ExternalDocs } from '@storybook/addon-docs';
import * as reactAnnotations from '@storybook/react/preview';
import * as previewAnnotations from '../.storybook/preview';
export default function Nextra({ Component, pageProps }) {
return (
<ExternalDocs projectAnnotationsList={[reactAnnotations, previewAnnotations]}>
<Component {...pageProps} />
</ExternalDocs>
);
}