UNPKG

@storybook/addon-docs

Version:

Document component usage and properties in Markdown

9 lines (8 loc) 301 B
import { FunctionComponent } from 'react'; import { DocsContextProps } from './DocsContext'; interface TitleProps { children?: JSX.Element | string; } export declare const extractTitle: ({ title }: DocsContextProps) => string; export declare const Title: FunctionComponent<TitleProps>; export {};