1 | import { FunctionComponent } from 'react';
|
2 | import { DescriptionProps as PureDescriptionProps } from '@storybook/components';
|
3 | import { DocsContextProps } from './DocsContext';
|
4 | import { Component } from './types';
|
5 | export declare enum DescriptionType {
|
6 | INFO = "info",
|
7 | NOTES = "notes",
|
8 | DOCGEN = "docgen",
|
9 | LEGACY_5_2 = "legacy-5.2",
|
10 | AUTO = "auto"
|
11 | }
|
12 | interface DescriptionProps {
|
13 | of?: '.' | Component;
|
14 | type?: DescriptionType;
|
15 | markdown?: string;
|
16 | children?: string;
|
17 | }
|
18 | export declare const getDescriptionProps: ({ of, type, markdown, children }: DescriptionProps, { id, storyById }: DocsContextProps<any>) => PureDescriptionProps;
|
19 | declare const DescriptionContainer: FunctionComponent<DescriptionProps>;
|
20 | export { DescriptionContainer as Description };
|