Skip to main content

variants.docs

Static Content Page in MDX#

Docs for Variants aspect

Component usage#

Use your component in any mdx file:

import { Variants } from '@teambit/aspect-docs.variants';
<Variants />;

Render with theme and MDX providers#

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