import React, { useState, useContext } from "react"; import styled from "styled-components"; import ThemeContext from "./context"; function Card(props) { const theme = useContext(ThemeContext); return (
{props.children}
); } export default styled(Card)` text-align: left; padding: 24px; background: #1d252c; border-radius: 8px; `;