Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Add Support for Object Syntax #277

Open
igoldny opened this issue Aug 28, 2019 · 3 comments
Open

Add Support for Object Syntax #277

igoldny opened this issue Aug 28, 2019 · 3 comments

Comments

@igoldny
Copy link

igoldny commented Aug 28, 2019

As of v3.3.0 styled-components released object syntax which is also supported by emotion and styletron.

styled:

const Button = styled.button({
  color: 'blue'
})

css prop:

const className = css({
  color: 'blue'
})
@tkforce
Copy link

tkforce commented Sep 29, 2020

+1
Supporting object syntax seems reasonable when people use styled-system along with styled-component.

@yipei1028
Copy link

It would be great to have this functionality!

@borispoehland
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants