Closed sean2337 closed 3 months ago
Emotion ์ธํ ์๋ฃ
import { css } from "@emotion/react";
const style = css color: hotpink; ;
color: hotpink;
const Test = () => { return (
); }; export default Test;
์ ๋ด์ฉ์ ์ถ๊ฐํ์ฌ ์์ ๊ฐ์ด css import ๋ฐ์์ `/** @jsxImportSource @emotion/react */`๋ฅผ ๋ถ์ด์ง ์๊ณ ์ฌ์ฉ ๊ฐ๋ฅํ๋๋ก ์ค์ ํ์ต๋๋ค. ### ๐ง Issue number and link (์ฐธ๊ณ ) - #1 ### ๐ Reference (์ฐธ์กฐ) [์ฐธ๊ณ ๋ธ๋ก๊ทธ](https://medium.com/@zero86/emotion-%EA%B0%84%EB%8B%A8%ED%95%98%EA%B2%8C-%EB%A7%9B%EB%B3%B4%EA%B8%B0-react-ts-vite-35f82da4b282)
์๊ด์ ์์ ๊ฒ ๊ฐ์๋ฐ ์ ๋ฒ์ ์ด์ผ๊ธฐ ํ๋ ๊ฒ์ฒ๋ผ ์ปค๋ฐ ๋ฉ์ธ์ง์ #1 ๋๋ฒ๋ง ํด๋ ์ข์ ๊ฒ ๊ฐ์์ โ๐ป
๐๐ผโโ๏ธโ Summary (์์ฝ)
๐ซจ Describe your Change (๋ณ๊ฒฝ์ฌํญ)
const style = css
color: hotpink;
;const Test = () => { return (
Hello Emotion
); }; export default Test;