How to use the @emotion/core/macro.css function in @emotion/core

To help you get started, we’ve selected a few @emotion/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github emotion-js / emotion / packages / babel-plugin / __tests__ / css-macro / __fixtures__ / label-transpiled-by-ts.js View on Github external
import { css } from '@emotion/core/macro'
import { __makeTemplateObject } from 'tslib'

var templateObject_1

const someVar = css(
  templateObject_1 ||
    (templateObject_1 = __makeTemplateObject(
      ['\n  color: hotpink;\n'],
      ['\n  color: hotpink;\n']
    ))
)