import { useState } from 'react'; type TipItemProps = { title: string; description: string; }; export function TipItem(props: TipItemProps) { const { title, description } = props; const [isToggled, setIsToggled] = useState(false); return (
{description}
)}