UNPKG

@hhgtech/hhg-components

Version:
24 lines (23 loc) 746 B
import React, { ReactNode } from 'react'; import { ButtonProps, ModalProps } from "../../mantine"; export type Props = { isMobile: boolean; children: ReactNode; desktopBanner?: string; modalRatio: { width: number; height: number; }; mobileBanner?: string; mobileBannerRatio?: { width: number; height: number; }; desktopBannerRatio?: { width: number; height: number; }; closeProps?: ButtonProps; }; declare const SideBannerModal: ({ isMobile, children, desktopBanner, mobileBanner, modalRatio, mobileBannerRatio, desktopBannerRatio, closeProps, ...modalProps }: Props & ModalProps) => React.JSX.Element; export { SideBannerModal };