@vnmfify/core
Version:
```shell npm i @vnmfify/core -S ```
15 lines (14 loc) • 571 B
TypeScript
import { ViewProps } from "@vnxjs/components/types/View";
import { CSSProperties, ReactNode } from "react";
export interface PopupBackdropProps extends ViewProps {
style?: CSSProperties;
open?: boolean;
duration?: number;
closeable?: boolean;
}
declare function PopupBackdrop(props: PopupBackdropProps): JSX.Element;
declare namespace PopupBackdrop {
var displayName: string;
}
export default PopupBackdrop;
export declare function usePopupBackdrop(backdrop?: ReactNode, options?: boolean | Omit<PopupBackdropProps, "open">): {} | null;