Skip to content

Currying interface #18

@kof

Description

@kof

Lets add or even replace the current interface with the currying one:

const Button = styled('div')({
  color: 'red'
})

The nice thing about it is:

const div = styled('div')

const Button = div({
  color: 'red'
})

const AnotherButton = div({
  color: 'green'
})

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions