@emotion/styled
styled API for emotion
Last updated 6 years ago by emotion-release-bot .
MIT · Repository · Original npm
$ cnpm install @emotion/styled 
SYNC missed versions from official npm registry.

@emotion/styled

The styled API for @emotion/core

Install

yarn add @emotion/core @emotion/styled

Usage

import styled from '@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.

Current Tags

  • 11.8.1                                ...           latest (4 years ago)

8 Versions

  • 11.8.1                                ...           4 years ago
  • 11.0.0-rc.0                                ...           5 years ago
  • 11.0.0-next.19                                ...           5 years ago
  • 11.6.0                                ...           4 years ago
  • 10.3.0                                ...           4 years ago
  • 11.0.0-next.17                                ...           5 years ago
  • 11.0.0-next.15                                ...           5 years ago
  • 10.0.27                                ...           6 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org