How to use the @emotion/primitives.View 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-other-name.js View on Github external
import something from '@emotion/primitives'

something.View`
  color: hotpink;
`

something.View({})
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 2 months ago

Package Health Score

74 / 100
Full package analysis