import React, { useContext } from 'react'; import { ThemeContext } from '../context/ThemeContext'; const Card = ({title, description}) => { const {theme, setTheme} = useContext(ThemeContext) return (

{title}

{description}

); }; export default Card;