UNPKG

@activecollab/components

Version:

ActiveCollab Components

28 lines 870 B
import React, { CSSProperties } from "react"; interface ControlProps { onClick: () => void; icon: React.ReactElement; tooltip: string; disabled: boolean; className: string; } interface ISheet { onClose?: () => void; controls?: ControlProps[]; open?: boolean; animation?: "top" | "bottom" | "left" | "right"; position?: "center" | "left" | "right"; mode?: "normal" | "stretch"; disableFocusLock?: boolean; disableScrollLock?: boolean; disableBackgroundColor?: boolean; bodyStyle?: CSSProperties; bodyClassName?: string; disableBackgroundClick?: boolean; } export interface SheetMethods { close: () => void; } export declare const Sheet: React.ForwardRefExoticComponent<ISheet & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<SheetMethods>>; export {}; //# sourceMappingURL=Sheet.d.ts.map