Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
dist/ | 2023-06-08 14:12 | - | ||
jsx-dev-runtime/ | 2023-06-08 14:12 | - | ||
jsx-runtime/ | 2023-06-08 14:12 | - | ||
src/ | 2023-06-08 14:12 | - | ||
types/ | 2023-06-08 14:13 | - | ||
CHANGELOG.md | 1985-10-26 08:15 | 8.4K | ||
LICENSE | 1985-10-26 08:15 | 1.1K | 0fb859dc fixed mobile overflwo options [كارل مبارك] | |
README.md | 1985-10-26 08:15 | 695 | 0fb859dc fixed mobile overflwo options [كارل مبارك] | |
package.json | 2023-06-08 14:14 | 2.4K |
# @emotion/core > Simple styling in React. ## Install ```bash yarn add @emotion/core ``` ## Usage ```jsx /** @jsx jsx */ import { jsx, css, Global, ClassNames } from '@emotion/core' render( <div css={{ color: 'hotpink' }}> <div css={css` color: green; `} /> <Global styles={{ body: { margin: 0, padding: 0 } }} /> <ClassNames> {({ css, cx }) => ( <div className={cx( 'some-class', css` color: yellow; ` )} /> )} </ClassNames> </div> ) ``` More documentation is available at https://emotion.sh.