Skip to main content

component.docs

Static Content Page in MDX#

Docs for Component aspect

Component usage#

Use your component in any mdx file:

import { Component } from '@teambit/aspect-docs.component';
<Component />;

Render with theme and MDX providers#

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