react-ui89
Version:
A collection of React components that mimic a common style of user interfaces from the late 80s and early 90s.
18 lines (17 loc) • 775 B
TypeScript
import React from "react";
import "./Ui89ModalDialog.css";
import { Ui89Palette, Ui89Theme } from "../theme";
export interface Ui89ModalDialogProps {
open: boolean;
size?: "small" | "medium" | "big" | "full";
theme?: Ui89Theme | keyof typeof Ui89Theme | Ui89Palette | keyof typeof Ui89Palette;
children?: React.ReactNode;
topLeft?: React.ReactNode;
topCenter?: React.ReactNode;
topRight?: React.ReactNode;
bottomLeft?: React.ReactNode;
bottomCenter?: React.ReactNode;
bottomRight?: React.ReactNode;
onRequestClose?: () => void;
}
export declare function Ui89ModalDialog({ open, size, theme, children, topLeft, topCenter, topRight, bottomLeft, bottomCenter, bottomRight, onRequestClose, }: Ui89ModalDialogProps): React.JSX.Element;