@dossierhq/design
Version:
The design system for Dossier.
20 lines (19 loc) • 642 B
TypeScript
import { type ReactNode, type SyntheticEvent } from 'react';
export interface DialogProps {
show: boolean;
form?: boolean;
modal?: boolean;
width?: keyof typeof widthClassNameMap;
height?: keyof typeof heightClassNameMap;
onClose: (event: SyntheticEvent<HTMLDialogElement>, returnValue: string) => void;
children: ReactNode;
}
declare const widthClassNameMap: {
narrow: string;
wide: string;
};
declare const heightClassNameMap: {
fill: string;
};
export declare function Dialog({ show, form, width, height, modal, onClose, children }: DialogProps): import("react/jsx-runtime").JSX.Element;
export {};