import RichTextParagraphStrongStroked from '@graphcommerce/graphcms-ui/RichText/RichTextParagraphStrongStroked'
import { ParagraphWithSidebarSlide, RenderType } from '@graphcommerce/next-ui'
import { useTheme } from '@material-ui/core'
import React from 'react'
import Asset from '../../Asset'
import { ProductListItemsProps } from '../../ProductListItems/ProductListItems'
import renderers from '../../ProductListItems/renderers'
import { RowProductBackstoryFragment } from './RowProductBackstory.gql'
type RowProductBackstoryProps = RowProductBackstoryFragment & ProductListItemsProps
export default function RowProductBackstory(props: RowProductBackstoryProps) {
const { copy, asset, ...productListItems } = props
const theme = useTheme()
const singleItem = productListItems?.items?.[productListItems.items?.length - 1]
if (!singleItem) return null
return (
}
slidingItems={
}
>
)
}