@jfrolich/create-emotion-styled
TypeScript icon, indicating that this package has built-in type declarations

9.2.9 • Public • Published

create-emotion-styled

Create the styled API with emotion for React-like libraries

create-emotion-styled allows you to use the styled API with instances of emotion. This is only needed if you use a custom instance of emotion from create-emotion and you want to use the styled API. create-emotion-styled accepts an instance of emotion from create-emotion and a React-like view library.

import React from 'react'
import * as emotion from 'my-emotion-instance'
import createEmotionStyled from 'create-emotion-styled'

export default createEmotionStyled(emotion, React)

// Exporting emotion isn't required but generally recommended
export * from 'my-emotion-instance'

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 9.2.9
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 9.2.9
    0
  • 9.2.8
    0

Package Sidebar

Install

npm i @jfrolich/create-emotion-styled

Homepage

emotion.sh/

Weekly Downloads

0

Version

9.2.9

License

MIT

Unpacked Size

58.2 kB

Total Files

18

Last publish

Collaborators

  • jfrolich