create-emotion-styled
The styled API for emotion
Last updated 8 years ago by mitchellhamilton .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install create-emotion-styled 
SYNC missed versions from official npm registry.

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'

Current Tags

  • 9.2.8                                ...           latest (8 years ago)
  • 9.0.0-3                                ...           next (9 years ago)

14 Versions

  • 9.2.8                                ...           8 years ago
  • 9.2.6                                ...           8 years ago
  • 9.2.5                                ...           8 years ago
  • 9.2.3                                ...           8 years ago
  • 9.2.1                                ...           8 years ago
  • 9.2.0                                ...           8 years ago
  • 9.1.2                                ...           9 years ago
  • 9.1.1                                ...           9 years ago
  • 9.1.0                                ...           9 years ago
  • 9.0.1                                ...           9 years ago
  • 9.0.0                                ...           9 years ago
  • 9.0.0-3                                ...           9 years ago
  • 9.0.0-2                                ...           9 years ago
  • 9.0.0-0                                ...           9 years ago
Downloads
Total 20
Today 0
This Week 0
This Month 18
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE