How to use the @emotion/primitives function in @emotion/primitives

To help you get started, we’ve selected a few @emotion/primitives 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 / babel-plugin / __tests__ / styled-macro / __fixtures__ / primitives.js View on Github external
import styled from '@emotion/primitives'

styled('SomeFakeComponent')`
  color: hotpink;
`

styled('SomeFakeComponent')({})

styled.View`
  color: hotpink;
`

styled.View({})

@emotion/primitives

> Style and render primitive interfaces across multiple targets with emotion

MIT
Latest version published 5 months ago

Package Health Score

71 / 100
Full package analysis