UNPKG

@ultraviolet/plus

Version:
27 lines (26 loc) 900 B
import type { JSX, ReactNode } from 'react'; import type { Units } from './types'; type OverlayComponentProps = { children: ReactNode; disableOverlayLeft?: boolean; disableOverlayRight?: boolean; discount?: number; inView?: boolean; isBeta?: boolean; unit: Units; OverlayLeft?: (props: { children: ReactNode; disabled?: boolean; }) => JSX.Element; OverlayRight?: (props: { children?: ReactNode; disabled?: boolean; }) => JSX.Element; totalPrice: { maxOverlayHourly: number; overlayHourly: number; }; overlayMargin?: string; }; export declare const OverlayComponent: ({ children, inView, discount, OverlayRight, disableOverlayRight, OverlayLeft, disableOverlayLeft, totalPrice, unit, isBeta, overlayMargin, }: OverlayComponentProps) => import("@emotion/react/jsx-runtime").JSX.Element; export {};