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

REV-68/프로필 컴포넌트 구현 #6

Merged
merged 5 commits into from
Oct 31, 2023

Conversation

hayamaster
Copy link
Collaborator

📑 구현 내용

  • 프로필 컴포넌트 구현
  • BasicProfileIcon 추가

image


🚧 참고 사항

interface ProfileProps {
    image?: string | ReactNode
    name: string
}

prop으로 image와 name을 받습니다.
image는 string 타입의 url을 받을 수 있고, ReactNode타입의 <img/>태그로 받을 수 있습니다.

image를 prop으로 넘겨주지 않을 때는, BasicProfileIcon가 default로 설정되어 있습니다.

@hayamaster hayamaster added the 기능 새로운 기능을 개발합니다. label Oct 30, 2023
@hayamaster hayamaster self-assigned this Oct 30, 2023
@hyoribogo hyoribogo changed the title REV-68/프로필 컴포넌트 REV-68/프로필 컴포넌트 구현 Oct 30, 2023
src/components/Profile/index.tsx Show resolved Hide resolved
src/components/Profile/index.tsx Outdated Show resolved Hide resolved
src/components/Profile/index.tsx Outdated Show resolved Hide resolved
src/components/Profile/index.tsx Outdated Show resolved Hide resolved
Copy link
Collaborator

@khj0426 khj0426 left a comment

Choose a reason for hiding this comment

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

💯 🥇

@hayamaster hayamaster merged commit 0da9333 into develop Oct 31, 2023
1 check passed
@hayamaster hayamaster deleted the REV-68/프로필-컴포넌트 branch October 31, 2023 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
기능 새로운 기능을 개발합니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants