Adds annotations to Mirador 4 implementation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
astanley dc3cc1cb13 initial commit 1 week ago
..
_isolated-hnrs initial commit 1 week ago
dist initial commit 1 week ago
jsx-dev-runtime initial commit 1 week ago
jsx-runtime initial commit 1 week ago
src initial commit 1 week ago
types initial commit 1 week ago
LICENSE initial commit 1 week ago
README.md initial commit 1 week ago
macro.d.mts initial commit 1 week ago
macro.d.ts initial commit 1 week ago
macro.js initial commit 1 week ago
package.json initial commit 1 week ago

README.md

@emotion/react

Simple styling in React.

Install

yarn add @emotion/react

Usage

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