atomico-styled
v1.3.2
Published
Styled Components for Atomico
Downloads
1
Readme
atomico-styled
Styled Components for Atomico.
Example
import { render } from "atomico/core";
import { styled } from "atomico-styled";
const Div = styled("div")`
color: ${(props) => props.color};
background-color: black;
`;
render(
<host>
<Div color="white">Example</Div>
</host>,
document.querySelector("#app")
);