Buckets:
32.1 GB
673,093 files
Updated 5 months ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| base | 30 items | ||
| dist | 33 items | ||
| src | 9 items | ||
| LICENSE | 1.09 kB xet | c8828d0a | |
| README.md | 471 Bytes xet | 945c3919 | |
| macro.d.mts | 91 Bytes xet | 6687992c | |
| macro.d.ts | 91 Bytes xet | 6687992c | |
| macro.js | 67 Bytes xet | 9ca59f3d | |
| package.json | 7.19 kB xet | b7d9c52c |
@emotion/styled
The styled API for @emotion/react
Install
yarn add @emotion/react @emotion/styled
Usage
import styled from '@emotion/styled'
let SomeComp = styled.div({
color: 'hotpink'
})
let AnotherComp = styled.div`
color: ${props => props.color};
`
render(
<SomeComp>
<AnotherComp color="green" />
</SomeComp>
)
More documentation is available at https://emotion.sh/docs/styled.
- Total size
- 32.1 GB
- Files
- 673,093
- Last updated
- Mar 19
- Pre-warmed CDN
- US EU US EU