Skip to main content

typescript.docs

Static Content Page in Typescript#

Docs for Typescript aspect

Component usage#

Use your component in any Typescript file:

import { Typescript } from '@teambit/aspect-docs.typescript';
<Typescript />;

Render with theme and Typescript providers#

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