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

[혜수] - 공통 버튼 컴포넌트 완성 #22

Merged
merged 4 commits into from
Nov 5, 2023
Merged

Conversation

suehdn
Copy link
Contributor

@suehdn suehdn commented Nov 5, 2023

📌 이슈 번호

close #8

🚀 구현 내용

  • 공통 버튼 컴포넌트
  • border 공통 css 추가했습니다.
  • Color type에 primary 없어서 추가했습니다.
  • 사용법
'use client';

import Button from '@/components/Button/Button';

export default function Home() {
  const click = () => {
    alert('hi!');
  };
  return (
    <>
      <h1>올해도 아좌좌 ㅋ_ㅋ</h1>
      <Button
        background="primary"
        color="white-100"
        fontSize="2xl"
        size="lg"
        onClick={click}>
        삭제
      </Button>
      <Button background="primary" color="white-100" fontSize="xl" size="md">
        계획 수정 완료
      </Button>
      <Button background="primary" color="white-100" fontSize="base" size="sm">
        확정
      </Button>
      <Button
        background="white-100"
        color="primary"
        fontSize="sm"
        size="sm"
        onClick={click}>
        취소
      </Button>
    </>
  );
}

@suehdn suehdn requested review from MinwooP and qkdl60 November 5, 2023 15:25
@suehdn suehdn self-assigned this Nov 5, 2023
@suehdn suehdn added the 🚨긴급 긴급한 확인 필요 label Nov 5, 2023
Copy link
Contributor

@MinwooP MinwooP left a comment

Choose a reason for hiding this comment

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

공통 mixin 이나 변수들 만들어주셔서 감사합니닷,,! 확인했고 고생하셨습니다 😎

Copy link
Contributor

@qkdl60 qkdl60 left a comment

Choose a reason for hiding this comment

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

lgtm👍 고생하셨습니다

@suehdn suehdn merged commit e5c1cf0 into dev Nov 5, 2023
@suehdn suehdn deleted the feat/#8/button-component branch November 5, 2023 15:32
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