import React from 'react' import { Box } from 'theme-ui' import type { FunctionComponent } from 'react' interface Props { variant?: string list: T[] ItemComponent: FunctionComponent } const GiftListList = ({ list, ItemComponent, variant = 'default', }: Props) => ( {list.map((item, index) => ( ))} ) export default GiftListList