UNPKG

alinea

Version:

[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea) [![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea)

9 lines (8 loc) 356 B
import { PropsWithChildren } from 'react'; export type ModalProps = PropsWithChildren<{ open?: boolean; onClose: () => void; className?: string; }>; export declare function Modal({ children, ...props }: ModalProps): import("react/jsx-runtime").JSX.Element | null; export declare function ModalPortal(): import("react/jsx-runtime").JSX.Element;