import React, { FC } from 'react'
import dynamic from 'next/dynamic'
import { cn } from 'ui'
import SectionContainer from '~/components/Layouts/SectionContainer'
import type {
Feature,
FeaturesSection as FeaturesSectionType,
} from '~/data/open-source/contributing/supasquad.utils'
const FeatureIcon = dynamic(() => import('~/components/Supasquad/FeatureIcon'), { ssr: false })
const FeaturesSection = (props: FeaturesSectionType) => {
return (
{props.label}
{props.heading}
{props.subheading &&
{props.subheading}
}
{props.features?.map((feature: Feature, index: number) => (
))}
)
}
interface FeatureItemProps {
feature: Feature
}
const FeatureItem: FC = ({ feature }) => {
return (
{feature.heading}
{feature.subheading}
{/* */}
)
}
export default FeaturesSection