Is there a way to incorporate the background-color:green
style to the <Test/>
component in the following example without directly modifying the <Test/>
component?
/** @jsx jsx */
import { css, jsx } from "@emotion/core";
import React from "react";
const Test = () => (
<div
css={css`
height: 100px;
width: 100px;
background-color: aqua;
`}
>
Text
</div>
);
const App = () => (
<Test
css={css`
height: 400px;
width: 400px;
background-color: green;
`}
/>
);