@gear-js/vara-ui
Version:
React UI components used across Vara applications
14 lines (13 loc) • 474 B
TypeScript
import { ReactNode } from 'react';
type Props = {
heading: string;
close: () => void;
children?: ReactNode;
className?: string;
headerAddon?: ReactNode;
footer?: ReactNode;
maxWidth?: 'small' | 'medium' | 'large' | (string & NonNullable<unknown>);
};
declare const Modal: ({ heading, close, children, className, headerAddon, footer, maxWidth }: Props) => import('react').ReactPortal | null;
export { Modal };
export type { Props as ModalProps };