@serendie/ui
Version:
Adaptive UI component library as part of Serendie Design System by Mitsubishi Electric
18 lines (17 loc) • 934 B
TypeScript
import { DialogRootProps } from '@ark-ui/react';
import { RecipeVariantProps } from '../../../styled-system/css';
import { ButtonProps } from '../Button';
declare const ModalDialogStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"title" | "description" | "content" | "backdrop" | "contentInner" | "closeTrigger" | "buttonWrapper", import('../../../styled-system/types').SlotRecipeVariantRecord<"title" | "description" | "content" | "backdrop" | "contentInner" | "closeTrigger" | "buttonWrapper">>;
type Props = {
isOpen: boolean;
title: string;
children: React.ReactNode;
className?: string;
cancelButtonLabel?: string;
submitButtonLabel: string;
onButtonClick: () => void;
submitButtonProps?: ButtonProps;
};
export type ModalDialogProps = Props & DialogRootProps & RecipeVariantProps<typeof ModalDialogStyle>;
export declare const ModalDialog: React.FC<ModalDialogProps>;
export {};