[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]types/2023-06-15 18:18 -  
[DIR]src/2023-06-15 18:18 -  
[DIR]jsx-runtime/2023-06-15 18:18 -  
[DIR]jsx-dev-runtime/2023-06-15 18:18 -  
[DIR]dist/2023-06-15 18:18 -  
[DIR]_isolated-hnrs/2023-06-15 18:18 -  
[TXT]README.md1985-10-26 08:15 720 d7c1522 post receive test [كارل مبارك]
[   ]package.json2023-06-15 18:21 4.9K 
[   ]macro.js.flow1985-10-26 08:15 40  
[   ]macro.js1985-10-26 08:15 62  
[TXT]macro.d.ts1985-10-26 08:15 31  
[   ]macro.d.mts1985-10-26 08:15 27  
[   ]LICENSE1985-10-26 08:15 1.1K 
# @emotion/react

> Simple styling in React.

## Install

```bash
yarn add @emotion/react
```

## Usage

```jsx
/** @jsx jsx */
import { jsx, css, Global, ClassNames } from '@emotion/react'

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](https://emotion.sh).