Skip to content

Conversation

@dididy
Copy link
Contributor

@dididy dididy commented Jun 27, 2020

구현한 내용

Issue #1 을 구현하였습니다.

  • Button 컴포넌트를 생성하였습니다.
  • Button 컴포넌트를 분리하였습니다.

고민한 내용

  • Button이 Disable 될 때 스타일을 적용하는 방식을 생각해보았습니다.

구현 결과 화면

Screen Shot 2020-06-27 at 12 51 20 AM

<Button title={buttonTitle} />
);
}
else {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

else를 꼭 써야할까요? emotion을 사용해서 props에 따라 스타일링을 하는 방식은 어떨까요?

@dididy dididy changed the title [FE] feat: seperate component of buton [FE] 버튼 컴포넌트 구현 Jun 27, 2020
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.

2 participants