Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIRE-276-fe-svg-30-개-가져오기 #29

Merged
merged 2 commits into from
Jul 9, 2022

Conversation

071yoon
Copy link
Member

@071yoon 071yoon commented Jul 8, 2022

<MyAvatar num={%원하는 1~30의 수} />
로 컴포넌트로 svg를 가져올 수 있게 설정했습니다
더 쉬운 방법이 있었다면 좋겠지만, 저의 머리로는 이게 한계여서... 노가다로 구현했습니다...
더 좋은 방법이 생긴다면 수정 부탁드립니다... ㅎㅎ

071yoon added 2 commits July 9, 2022 03:09
svg들 tsx 파일로 30개 생성
앞으로 svg를 사용하고 싶을 때 MyAvatar를 import 해서
<MyAvatar num={%해당하는 숫자} />
로 가져와서 사용
@071yoon 071yoon requested a review from haryung-lee July 8, 2022 18:12
@vercel
Copy link

vercel bot commented Jul 8, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
modoco-frontend ✅ Ready (Inspect) Visit Preview Jul 8, 2022 at 6:13PM (UTC)

Copy link
Member

@haryung-lee haryung-lee left a comment

Choose a reason for hiding this comment

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

수고하셨어여~!👍

@haryung-lee haryung-lee merged commit 4b9a587 into main Jul 9, 2022
@haryung-lee haryung-lee deleted the FIRE-276-fe-svg-30-개-가져오기 branch July 9, 2022 03:13
Copy link
Member Author

@071yoon 071yoon left a comment

Choose a reason for hiding this comment

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

lint 에 맞춰 코드 살짝 수정

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants