You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

create-emotion-styled

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-emotion-styled

The styled API for emotion

9.2.8
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

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'

Keywords

styles

FAQs

Package last updated on 28 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts