UNPKG

@procraft/widget-order

Version:

Order widget for landing

13 lines (12 loc) 378 B
import React from 'react'; import { CatalogItemSale } from '../../../interfaces'; import { SaleProps } from './interfaces'; /** * Считаем стоимость с учетом скидки */ export declare const calcPriceWithDiscount: (price: number, sale: CatalogItemSale) => number; /** * Скидка */ declare const Sale: React.FC<SaleProps>; export default Sale;