@findnlink/neuro-ui
Version:
Findnlink design system
14 lines (13 loc) • 355 B
TypeScript
import { HTMLAttributes } from 'react';
import { UtilInterface } from '../../util/interfaces';
export interface ModalProps extends HTMLAttributes<HTMLDivElement>, UtilInterface {
children: any;
open: boolean;
onClose: () => void;
type?: null | 'confirm';
onConfirm?: any;
i18n?: {
yes: string;
no: string;
};
}