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

Feat: 버튼 컴포넌트 기본 작업 #17

Merged
merged 19 commits into from
Apr 30, 2024
Merged

Feat: 버튼 컴포넌트 기본 작업 #17

merged 19 commits into from
Apr 30, 2024

Conversation

hoongding
Copy link
Contributor

관련 이슈

#5

구현 내용

스크린샷 2024-05-01 00 46 04

@hoongding hoongding added ✨ feat 구현, 개선 사항에 관련된 내용입니다. 🎨 style UI 관련 이슈입니다. labels Apr 30, 2024
@hoongding hoongding requested a review from rai-95 April 30, 2024 15:46
@hoongding hoongding self-assigned this Apr 30, 2024
@hoongding hoongding linked an issue Apr 30, 2024 that may be closed by this pull request
Copy link
Contributor

@rai-95 rai-95 left a comment

Choose a reason for hiding this comment

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

리뷰 확인 부탁드릴게요!!

Copy link
Contributor

Choose a reason for hiding this comment

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

globals.css가 tailwind.css로 경로가 변경되서 실행시 경로 에러가 나는거 같습니다!!

나중에 변경해주시면 좋을거 같아요!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rai-95 성은님! 혹시 제거에서는 돌아가는데(ㅋㅋㅋㅋㅋ) 한번 확인 부탁드려도 될까요?

import { PropsWithChildren } from 'react';
import { ButtonContext } from '../modules/ButtonStateContext';

export interface IButtonMain extends PropsWithChildren, VariantProps<typeof buttonMainVariants> {
Copy link
Contributor

Choose a reason for hiding this comment

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

👍👍 좋습니다!

children 인터페이스 부분 통일하면 좋을거 같아요!

ButtonMain은 extends PropsWithChildren로 작성되어 있고 ButtonLabel은 children: React.ReactNode 로 다르게 작성된거 같아서요!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rai-95 헉!! 좋습니다 ㅎㅎㅎ 바로 바꾸겠습니다!
PropsWithChildren으로 통일하면 좋을 것 같아요!

@hoongding hoongding merged commit 2739412 into main Apr 30, 2024
@hoongding hoongding deleted the feat/common-button branch July 13, 2024 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feat 구현, 개선 사항에 관련된 내용입니다. 🎨 style UI 관련 이슈입니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[공통컴포넌트 작업] Button 컴포넌트
2 participants