Skip to main content

compositions.docs

Static Content Page in MDX#

Docs for Compositions aspect

Component usage#

Use your component in any mdx file:

import { Compositions } from '@teambit/aspect-docs.compositions';
<Compositions />;

Render with theme and MDX providers#

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