@prezly/react-promise-modal
Version:
The proper (and easy) way of doing modals in React. With Promises.
6 lines (5 loc) • 307 B
TypeScript
import type * as React from "react";
export declare function noop(): void;
export declare function generateId(): string;
export declare function isEvent(value: unknown): value is Event;
export declare function isSyntheticEvent(value: unknown | Partial<React.SyntheticEvent>): value is React.SyntheticEvent;