stupa-pdf-api/frontend/node_modules/@emotion/styled
2025-09-01 01:50:35 +02:00
..
base Main Features working; Further Debugging needed 2025-09-01 01:50:35 +02:00
src Main Features working; Further Debugging needed 2025-09-01 01:50:35 +02:00
LICENSE Main Features working; Further Debugging needed 2025-09-01 01:50:35 +02:00
macro.d.mts Main Features working; Further Debugging needed 2025-09-01 01:50:35 +02:00
macro.d.ts Main Features working; Further Debugging needed 2025-09-01 01:50:35 +02:00
macro.js Main Features working; Further Debugging needed 2025-09-01 01:50:35 +02:00
package.json Main Features working; Further Debugging needed 2025-09-01 01:50:35 +02:00
README.md Main Features working; Further Debugging needed 2025-09-01 01:50:35 +02:00

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