import React, { FC } from 'react' import { cn, Badge } from 'ui' import SectionContainer from '~/components/Layouts/SectionContainer' interface Props { id: string heading: string | JSX.Element subheading: string | JSX.Element highlights: Highlight[] } type Highlight = { heading: string subheading: string } const Performance: FC = (props) => { return (
{/* {props.label} */}

{props.heading}

{props.subheading}

{props.highlights.map((highlight) => ( ))}
) } const GraphLabel: FC<{ className?: string }> = ({ className }) => (
Users
930,550 +13.4%
) interface HighlightItemProps { highlight: Highlight } const HighlightItem: FC = ({ highlight }) => { return (
  • {highlight.heading}

    {highlight.subheading}

  • ) } export default Performance