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-69/개별 답변 컴포넌트 구현 #9

Merged
merged 5 commits into from
Oct 31, 2023

Conversation

hayamaster
Copy link
Collaborator

📑 구현 내용

  • 개별 답변 컴포넌트 구현

image


🚧 참고 사항

interface PersonalAnswerProps {
  image?: string | ReactNode
  name: string
  answer?: ReactNode
  type?: 'basic' | 'hexagon'
}

imagename은 Profile을 위한 props.
answer은 답변 컴포넌트로 다양한 답변 형식을 받기 위해 ReactNode 타입입니다.
type은 답변형식의 타입 구분입니다. 육각형 스탯은 hexagon 그 외는 basic으로 지정했고, default는 basic입니다.

답변이 육각형 스탯일 때는, 아래와 같이 디자인에 변경을 주었습니다.

image


@hayamaster hayamaster added the 기능 새로운 기능을 개발합니다. label Oct 30, 2023
@hayamaster hayamaster self-assigned this Oct 30, 2023
@hyoribogo hyoribogo changed the title REV-69/개별 답변 컴포넌트 REV-69/개별 답변 컴포넌트 구현 Oct 30, 2023
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.

👍 👍 💯

src/components/PersonalAnswer/index.tsx Show resolved Hide resolved
@hayamaster hayamaster merged commit b5c1f0c into develop Oct 31, 2023
1 check failed
@hayamaster hayamaster deleted the REV-69/개별-답변-컴포넌트 branch October 31, 2023 06:43
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