stylelint-processor-styled-components icon indicating copy to clipboard operation
stylelint-processor-styled-components copied to clipboard

Add Support for Object Syntax

Open igoldny opened this issue 5 years ago • 3 comments

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'
})

igoldny avatar Aug 28 '19 12:08 igoldny

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

tkforce avatar Sep 29 '20 03:09 tkforce

It would be great to have this functionality!

yipei1028 avatar Sep 29 '20 03:09 yipei1028

+1

borispoehland avatar Nov 23 '20 19:11 borispoehland