@storybook/addon-docs
Version:
Superior documentation for your components
15 lines (14 loc) • 384 B
TypeScript
import { FC } from 'react';
declare type Decorator = (...args: any) => any;
interface MetaProps {
title: string;
component?: any;
decorators?: [Decorator];
parameters?: any;
}
/**
* This component is used to declare component metadata in docs
* and gets transformed into a default export underneath the hood.
*/
export declare const Meta: FC<MetaProps>;
export {};