How to use the babel-plugin-emotion.macros function in babel-plugin-emotion

To help you get started, we’ve selected a few babel-plugin-emotion 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 / preact-emotion / macro.js View on Github external
module.exports = require('babel-plugin-emotion').macros.createStyledMacro({
  importPath: '@emotion/preact-styled-base',
  isWeb: true
})
github emotion-js / emotion / packages / preact-styled / macro.js View on Github external
module.exports = require('babel-plugin-emotion').macros.createStyledMacro({
  importPath: '@emotion/preact-styled-base',
  isWeb: true
})
github emotion-js / emotion / packages / styled / macro.js View on Github external
module.exports = require('babel-plugin-emotion').macros.createStyledMacro({
  importPath: '@emotion/styled-base',
  originalImportPath: '@emotion/styled',
  isWeb: true
})
github emotion-js / emotion / packages / react-emotion / macro.js View on Github external
module.exports = require('babel-plugin-emotion').macros.createStyledMacro({
  importPath: '@emotion/styled-base',
  isWeb: true
})
github emotion-js / emotion / packages / css / macro.js View on Github external
module.exports = require('babel-plugin-emotion').macros.css
github emotion-js / emotion / packages / emotion / macro.js View on Github external
module.exports = require('babel-plugin-emotion').macros.createEmotionMacro(
  'emotion'
)

babel-plugin-emotion

A recommended babel preprocessing plugin for emotion, The Next Generation of CSS-in-JS.

MIT
Latest version published 3 years ago

Package Health Score

88 / 100
Full package analysis

Popular babel-plugin-emotion functions