@vnmfify/core
Version:
```shell npm i @vnmfify/core -S ```
16 lines (15 loc) • 649 B
TypeScript
import { ForwardRefExoticComponent } from "react";
import { PopupProps } from "./popup";
import PopupBackdrop from "./popup-backdrop";
import PopupClose from "./popup-close";
export type { PopupPlacement } from "./popup.shared";
export type { PopupBackdropProps } from "./popup-backdrop";
export { usePopupBackdrop } from "./popup-backdrop";
export type { PopupCloseProps } from "./popup-close";
interface PopupInterface extends ForwardRefExoticComponent<PopupProps> {
(props: PopupProps): JSX.Element;
Backdrop: typeof PopupBackdrop;
Close: typeof PopupClose;
}
declare const Popup: PopupInterface;
export default Popup;