-
Notifications
You must be signed in to change notification settings - Fork 9
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] 버튼 컴포넌트, GNB, Footer 추가 #253
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
윤호님이 설정해주신 storybook, theme merge 하면 다시 수정해서 PR하겠습니다 👀.. |
Bundle SizesCompared against d4bc7f9
|
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.
컨벤션 관련된 댓글만 달았어요~ 확인 한 번 해주세요!
src/components/Button/Button.tsx
Outdated
|
||
export type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & PropsWithChildren; | ||
|
||
export const Button = ({ children, ...props }: ButtonProps) => { |
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.
function 컴포넌트로 통일...ㅎㅎㅎㅎㅎㅎㅎㅎ
src/components/Button/index.ts
Outdated
@@ -0,0 +1 @@ | |||
export * from './Button'; |
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.
이렇게하면 default export아닌가요? 아래처럼해야 named export로 알고 있는뎁
export * from './Button'; | |
export { Button } from './Button'; |
@@ -27,8 +27,6 @@ const globalCss = css` | |||
box-sizing: border-box; | |||
word-break: keep-all; | |||
word-wrap: break-word; | |||
|
|||
cursor: none !important; |
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.
불편했는데 굳굳👍
작업 내용
스크린샷
요런 느낌 ~사용 방법
레퍼런스