1 | import { FunctionComponent } from 'react';
|
2 | import { SourceProps } from './Source';
|
3 | import { ActionItem } from '../ActionBar/ActionBar';
|
4 | export interface PreviewProps {
|
5 | isColumn?: boolean;
|
6 | columns?: number;
|
7 | withSource?: SourceProps;
|
8 | isExpanded?: boolean;
|
9 | withToolbar?: boolean;
|
10 | className?: string;
|
11 | additionalActions?: ActionItem[];
|
12 | }
|
13 | /**
|
14 | * A preview component for showing one or more component `Story`
|
15 | * items. The preview also shows the source for the component
|
16 | * as a drop-down.
|
17 | */
|
18 | declare const Preview: FunctionComponent<PreviewProps>;
|
19 | export { Preview };
|