react-hoc-modal
Version:
React component for easy create modals
10 lines (9 loc) • 380 B
TypeScript
import React from "react";
import type { TModal } from "./types";
declare const Container: React.ForwardRefExoticComponent<import("./types").TConfig & {
name?: string | undefined;
title: string;
children: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
onHide?: (() => void) | undefined;
} & React.RefAttributes<TModal>>;
export { Container };