-
Notifications
You must be signed in to change notification settings - Fork 1
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: progressbar component #40
Conversation
✅ Deploy Preview for moabam-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!!
@@ -0,0 +1,13 @@ | |||
const ProgressBar = ({ progress = 0, className = '', ...props }) => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2:
Input 컴포넌트 리뷰와 유사한 맥락인데요! 기본적으로 정의되어 있는 타입을 기반으로 확장성을 열어두는 방법은 어떨까요!?
추가로, 컴포넌트의 Prop 타입에 관한 컨벤션을 위해서 인터페이스를 정의해주면 좋겠네요!
interface ProgressBarProps extends React.HTMLAttributes<HTMLDivElement> {
progress?: number;
}
🧩 이슈 번호
✅ 작업 사항
프로그래스 바 만들었습니다.
w는 기본으로 100%이고, 게이지는 progress 쓰셔서 조절 가능
밤에는 노랑 됌요
👩💻 공유 포인트 및 논의 사항