/ piacw.com / dev / pias-backend-2 / node_modules / @emotion / core /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]dist/2 years ago -  
[DIR]jsx-dev-runtime/2 years ago -  
[DIR]jsx-runtime/2 years ago -  
[DIR]src/2 years ago -  
[DIR]types/2 years ago -  
[TXT]CHANGELOG.md40 years ago8.4K 
[   ]LICENSE40 years ago1.1K0fb859dc fixed mobile overflwo options [كارل مبارك]
[TXT]README.md40 years ago695 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]package.json2 years ago2.4K 
README.md

@emotion/core

Simple styling in React.

Install

yarn add @emotion/core

Usage

/** @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.

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80