@emotion/core
> Simple styling in React.
Last updated 5 years ago by emotion-release-bot .
MIT · Repository · Original npm
$ cnpm install @emotion/core 
SYNC missed versions from official npm registry.

@emotion/core

Simple styling in React.

Install

yarn add @emotion/core

Usage

/** @jsx jsx */
import { jsx, css, Global, ClassNames } from '@emotion/core'

render(
  <div css={{ color: 'hotpink' }}>
    <div
      css={css`
        color: green;
      `}
    />
    <Global
      styles={{
        body: {
          margin: 0,
          padding: 0
        }
      }}
    />
    <ClassNames>
      {({ css, cx }) => (
        <div
          className={cx(
            'some-class',
            css`
              color: yellow;
            `
          )}
        />
      )}
    </ClassNames>
  </div>
)

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

Current Tags

  • 11.0.0                                ...           latest (5 years ago)

8 Versions

  • 10.3.1                                ...           4 years ago
  • 11.0.0-rc.0                                ...           5 years ago
  • 11.0.0                                ...           5 years ago
  • 10.1.1                                ...           5 years ago
  • 10.0.35                                ...           5 years ago
  • 11.0.0-next.10                                ...           6 years ago
  • 10.0.22                                ...           6 years ago
  • 10.0.28                                ...           6 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org