Skip to main content

babel.docs

Static Content Page in MDX#

Docs for Babel aspect

Component usage#

Use your component in any mdx file:

import { Babel } from '@teambit/aspect-docs.babel';
<Babel />;

Render with theme and MDX providers#

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