import React, { ReactElement } from 'react' import PriceUnit from './PriceUnit' export default function Price({ accessDetails, orderPriceAndFees, className, size, conversion }: { accessDetails: AccessDetails orderPriceAndFees?: OrderPriceAndFees className?: string conversion?: boolean size?: 'small' | 'mini' | 'large' }): ReactElement { const isSupported = accessDetails?.type === 'fixed' || accessDetails?.type === 'free' return isSupported ? ( ) : null }