Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Create styled components #40

@RylanH

Description

@RylanH

Similar to https://styled-components.com/ we could do

const Metadata = dapper.div({
  fontSize: 12,
  padding: 8,
});

<Metadata>Stuff</Metadata>

The benefit is a reduction in lines and code because you skip naming the style and then also writing the className prop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions