UNPKG

@spaced-out/ui-design-system

Version:
171 lines 4.08 kB
import * as React from 'react'; import type { DialogProps } from './Dialog'; declare const _default: { tags: string[]; title: string; argTypes: { semantic: { options: unknown[]; description: string; control: { type: string; }; table: { type: { summary: string; }; defaultValue: { summary: "neutral"; }; }; }; iconName: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; isOpen: { description: string; control: { type: string; }; table: { type: { summary: string; }; defaultValue: { summary: string; }; }; }; tapOutsideToClose: { description: string; control: { type: string; }; table: { type: { summary: string; }; defaultValue: { summary: string; }; }; }; classNames: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; children: { description: string; table: { type: { summary: string; }; }; }; onClose: { description: string; action: string; table: { type: { summary: string; }; }; }; customAnimation: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; hideBackdrop: { description: string; control: { type: string; }; table: { type: { summary: string; }; defaultValue: { summary: string; }; }; }; initialFocus: { description: string; control: { type: string; }; table: { type: { summary: string; }; defaultValue: { summary: string; }; }; }; }; parameters: { docs: { subtitle: string; description: { component: string; }; }; storySource: { componentPath: string; }; }; }; export default _default; export declare const _Dialog: { (args: DialogProps): React.JSX.Element; args: { classNames: { container: string; }; initialFocus: number; semantic: string; }; }; /** * Basic Dialog supports these additional props <br><br> * `heading?: React.Node` <br> * `body?: React.Node` <br> * `confirmText?: string` <br> * `abortText?: string` <br> * `handleConfirm?: (event: SyntheticEvent<>) => mixed` <br> * `handleAbort?: (event: SyntheticEvent<>) => mixed` */ export declare const _BasicDialog: { (args: DialogProps): React.JSX.Element; args: { semantic: string; heading: string; body: string; abortText: string; confirmText: string; }; }; //# sourceMappingURL=Dialog.stories.d.ts.map