emotion css prop

terminal
1
2
yarn add @emotion/css @emotion/react @emotion/babel-preset-css-prop
yarn add -D react-app-rewired customize-cra
tsconfig.json
1
2
3
4
5
6
{
"compilerOptions": {
// ...
"jsxImportSource": "@emotion/react"
}
}
  • jsx 엘리먼트에서 css 속성을 사용할 수 있다

참고

Author

chinsung

Posted on

2021-11-27

Updated on

2022-02-12

Licensed under

댓글