Skip to content

Conversation

@hhhyyo
Copy link
Contributor

@hhhyyo hhhyyo commented Mar 23, 2022

PR Type

What kind of change does this PR introduce?

  • 버그를 수정했어요.
  • 새로운 기능을 추가했어요.
  • 코드 스타일 업데이트를 했어요(포맷팅, 지역변수)
  • 리팩토링을 했어요 (기능적인 변화 없이, api 변경 없이)
  • 환경설정을 변경했어요.
  • 문서 내용을 변경했어요.
  • 기타 사항을 설명해 주세요.

Related Issues

#24

What does this PR do?

  • svg를 컴포넌트로 사용하기 위해서 @svgr/webpack 설치 및 설정
  • Badge 컴포넌트 마이그레이션

Other information

@hhhyyo hhhyyo added ⚙️ conf 환경 설정 세팅이에요 🧱 component 컴포넌트 단위 작업을 진행해요! labels Mar 23, 2022
@hhhyyo hhhyyo added this to the Sprint2 milestone Mar 23, 2022
@hhhyyo hhhyyo self-assigned this Mar 23, 2022
$size: Size;
}

export type BadgeInfos = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오호 반복되는 타입의 객체를 이런 식으로 정의하는 방법이 있네요 굿굿

"dependencies": {
"@emotion/react": "^11.8.2",
"@emotion/styled": "^11.8.1",
"@svgr/webpack": "^5.5.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

svgr로 svg를 컴포넌트화 했을 때의 장점이 궁금합니다!

@hhhyyo hhhyyo merged commit 5a241c4 into TeamCooks:develop Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧱 component 컴포넌트 단위 작업을 진행해요! ⚙️ conf 환경 설정 세팅이에요

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants