UNPKG

@ultraviolet/plus

Version:
23 lines (22 loc) 970 B
import { type ComponentProps, type ReactNode } from 'react'; import type { BareEstimateProduct, EstimateProduct, Iteration } from '../types'; import { Item } from './Item'; type RegionProps = { shouldBeHidden?: boolean; priceText?: ReactNode; animated?: boolean; isFirstElement?: boolean; isLastElement?: boolean; productsCallback?: { add: (product: EstimateProduct) => void; remove: (product: BareEstimateProduct) => void; }; iteration?: Iteration; discount?: number; label: string; image: string; noBorder?: boolean; noPrice?: boolean; } & Pick<ComponentProps<typeof Item>, 'hideFromOverlay'>; export declare const Region: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, hideFromOverlay, }: RegionProps) => import("@emotion/react/jsx-runtime").JSX.Element>; export {};