How to use the emotion.getRegisteredStyles function in emotion

To help you get started, we’ve selected a few 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 / emotion / types / tests.ts View on Github external
60% {
    transform: translateX(30%);
  }
  100% {
    transform: translateX(100%);
  }
`

const cxResult: string = cx([
  [className, false && className2, 'modal'],
  [[className, { [className2]: true }, 'profile']]
])

merge(`class1 class2 ${className}`)

getRegisteredStyles([], className)