UNPKG

@storybook/addon-docs

Version:
17 lines (16 loc) 681 B
import { FunctionComponent } from 'react'; import { PropsTableProps } from '@storybook/components'; import { DocsContextProps } from './DocsContext'; import { Component, PropsSlot } from './shared'; interface PropsProps { exclude?: string[]; of?: '.' | Component; components?: { [label: string]: Component; }; slot?: PropsSlot; } export declare const getComponentProps: (component: any, { exclude }: PropsProps, { parameters }: DocsContextProps) => PropsTableProps; export declare const getComponent: (props: PropsProps, context: DocsContextProps) => any; declare const PropsContainer: FunctionComponent<PropsProps>; export { PropsContainer as Props };