playtpus_ui
Version:
React Component Libary
14 lines • 451 B
TypeScript
import '../main.scss';
declare type Position = 'top-left' | 'top-right' | 'top-center' | 'bottom-left' | 'bottom-right' | 'bottom-center';
interface ModalProps {
title: string;
message: any;
position?: Position;
hideCancel?: boolean;
}
declare const Modal: ({ title, message, hideCancel, position }: ModalProps) => {
close: () => void;
open: () => void;
};
export default Modal;
//# sourceMappingURL=index.d.ts.map