import { getPageSection, getPropertyArray } from '@/lib/page'; import { IntroPageProps } from '@/types/page'; import { usePage } from '@inertiajs/react'; import Section from '../section'; const Features = () => { const { props } = usePage(); const { page, customize } = props; const featuresSection = getPageSection(page, 'features'); return (
{getPropertyArray(featuresSection).map((feature, index) => (

{feature.title}

{feature.description}

))}
); }; export default Features;