@clubmed/trident-ui
Version:
Shared ClubMed React UI components
20 lines (19 loc) • 500 B
TypeScript
import type { FunctionComponent, MouseEvent, PropsWithChildren } from 'react';
interface BackdropProps {
/**
* On close
* @param event
*/
onClose?: (event: MouseEvent<HTMLButtonElement>) => void;
/**
* Is visible
*/
isVisible?: boolean;
/**
* Sweep Mode™
* (makes it appear from the sides instead of from everywhere)
*/
sweep?: boolean;
}
export declare const Backdrop: FunctionComponent<PropsWithChildren<BackdropProps>>;
export {};