Skip to main content

react.docs

Static Content Page in MDX#

Docs for React aspect

Component usage#

Use your component in any MDX file:

import { ReactAspect } from '@teambit/react.aspect-docs.react';
<ReactAspect />;

Render with theme and React providers#

import { ThemeCompositions } from '@teambit/documenter.theme.theme-compositions';import { MDXLayout } from '@teambit/ui.mdx-layout';import { ReactAspect } from '@teambit/react.aspect-docs.react';
<ThemeCompositions>  <MDXLayout>    <ReactAspect />  </MDXLayout></ThemeCompositions>;