atomico-styled
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

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")
);

/atomico-styled/

    Package Sidebar

    Install

    npm i atomico-styled

    Weekly Downloads

    0

    Version

    1.3.2

    License

    MIT

    Unpacked Size

    9.97 kB

    Total Files

    5

    Last publish

    Collaborators

    • efoken