import React, { FC } from 'react' import { Heading, Box, Flex } from '@vtex/store-ui' import { SummaryContextProvider } from './SummaryContext' interface InsertCouponResult { success: boolean errorKey: string } export interface SummaryProps { coupon?: string insertCoupon?: (coupon: string) => Promise loading?: boolean totalizers: any[] total: number } export const Summary: FC = ({ children, loading, totalizers, total, coupon, insertCoupon, title, }) => { return ( {title} {children} ) }