UNPKG

desmy-react

Version:

Introducing an easy-to-use, lightning-fast React.js component that streamlines your development process. Our solution prioritizes simplicity, speed, and optimization, making it a breeze to build projects in React.

25 lines (24 loc) 633 B
import { Component } from 'react'; type ModalData = { id: number; data: any; }; type HomeState = { dataList: any[]; modals: ModalData[]; modalId: number; }; type HomeProps = { className?: string; }; declare class DesmyUploadManager extends Component<HomeProps, HomeState> { private modalContainerRef; private subscription; constructor(props: HomeProps); componentDidMount(): Promise<void>; componentWillUnmount(): void; addNewModal: (data: any) => void; closeModal: (modalId: number) => void; render(): import("react/jsx-runtime").JSX.Element; } export { DesmyUploadManager };