import React from 'react' import { cn } from 'ui' import SectionContainer from '@/components/Layouts/SectionContainer' interface Feature { id?: string title: string | React.ReactNode subheading: string | React.ReactNode highlights?: string | React.ReactNode url?: string icon?: string image?: any className?: string onClick?: any alignLeft?: boolean } export interface DXSectionProps { id: string title: string | React.ReactNode subheading: string features: Feature[] className?: string } const DeveloperExperienceSection = ({ id, title, subheading, features, className, }: DXSectionProps) => { return (

{title}

{subheading}

{features.map((feature) => ( ))}
) } const FeatureCard = ({ feature }: { feature: Feature }) => { const { alignLeft = true } = feature return (
{feature.icon && ( )}

{feature.title}

{feature.subheading}

{feature.highlights && ( {feature.highlights} )}
{feature.image && feature.image}
) } export default DeveloperExperienceSection