UNPKG

goobs-frontend

Version:

A comprehensive React-based libary for building modern web applications

48 lines 1.37 kB
import { default as React } from 'react'; export interface PopoverTheme { popover: { position: string; backgroundColor: string; borderRadius: string; boxShadow: string; border: string; backdropFilter: string; backgroundImage?: string; marginTop: string; zIndex: number; }; transition: string; } export interface PopoverStyles { theme?: 'light' | 'dark' | 'sacred'; backgroundColor?: string; borderColor?: string; borderRadius?: string; borderWidth?: string; boxShadow?: string; backdropFilter?: string; backgroundImage?: string; maxWidth?: string; width?: string; minWidth?: string; height?: string; maxHeight?: string; minHeight?: string; padding?: string; margin?: string; marginTop?: string; zIndex?: number; position?: string; top?: string; left?: string; right?: string; bottom?: string; transitionDuration?: string; transitionEasing?: string; } export declare const popoverThemes: Record<'light' | 'dark' | 'sacred', PopoverTheme>; export declare const getPopoverTheme: (styles?: PopoverStyles) => PopoverTheme; export declare const getPopoverStyles: (styles?: PopoverStyles, anchorRect?: DOMRect) => { popover: React.CSSProperties; }; //# sourceMappingURL=popover.d.ts.map