@dossierhq/design
Version:
The design system for Dossier.
19 lines (18 loc) • 590 B
TypeScript
import type { FunctionComponent } from 'react';
import { type DialogProps, type DialogTriggerProps } from 'react-aria-components';
export interface Dialog2Props extends DialogProps {
width?: keyof typeof widthClassNameMap;
height?: keyof typeof heightClassNameMap;
}
interface Dialog2Component extends FunctionComponent<Dialog2Props> {
Trigger: FunctionComponent<DialogTriggerProps>;
}
declare const widthClassNameMap: {
narrow: string;
wide: string;
};
declare const heightClassNameMap: {
fill: string;
};
export declare const Dialog2: Dialog2Component;
export {};