@zedvision/emotion-styled
TypeScript icon, indicating that this package has built-in type declarations

10.10.34 • Public • Published

@emotion/styled

The styled API for @zedvision/emotion-react

Install

yarn add @zedvision/emotion-react @emotion/styled

Usage

import styled from '@zedvision/emotion-styled'

let SomeComp = styled.div({
  color: 'hotpink'
})

let AnotherComp = styled.div`
  color: ${props => props.color};
`

render(
  <SomeComp>
    <AnotherComp color="green" />
  </SomeComp>
)

More documentation is available at https://emotion.sh/docs/styled.

Readme

Keywords

none

Package Sidebar

Install

npm i @zedvision/emotion-styled

Weekly Downloads

2

Version

10.10.34

License

MIT

Unpacked Size

79 kB

Total Files

19

Last publish

Collaborators

  • zolika84