import React from "react"; import Container from "./Container"; const Benefits = (props) => { const { data } = props; return ( <>
Benefits

{data.title}

{data.desc}

{data.bullets.map((item, index) => ( {item.desc} ))}
); }; function Benefit(props) { return ( <>
{React.cloneElement(props.icon, { className: "w-7 h-7 text-indigo-50", })}

{props.title}

{props.children}

); } export default Benefits;