UNPKG

modale-opc-p14

Version:

A simple modale, or dialog component, built with React and TypeScript

13 lines (12 loc) 355 B
import * as React from "react"; import "./modale.css"; interface ModaleProps { title: string; content: string; onClose: () => void; error?: boolean; ariaLabel?: string; children?: React.ReactNode; } export declare function Modale({ title, content, onClose, error, ariaLabel, children }: ModaleProps): React.JSX.Element; export {};