import React from 'react' export function Card({ icon, title, children, }: { icon: React.ReactNode title: string children: React.ReactNode }) { const ContentElement = typeof children === 'string' ? 'p' : 'div' return (