-
Notifications
You must be signed in to change notification settings - Fork 2
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: 🎸 add carousel components #9
base: main
Are you sure you want to change the base?
Conversation
Files changed 咋那麼多? 還有 CI 沒過 |
應該過了 我也不知道為啥那麽多 點進去看起來都沒改 |
要找出原因 |
我目前查到是換行符的問題,windows是CRLF但是我是用mac改的是LF格式,顯示有被改過的文件確實大小不一樣,大概就差’行數‘個Bytes |
搞定 原因是我當時在學校做一半想帶回家做直接src整包打包帶走(CRLF格式),一般win是CRLF格式在git 的時候會自動轉LF,但是我在推的時候不知道為什麼沒轉。 |
MyCarousel.propTypes = { | ||
shownums: PropTypes.number, | ||
views: PropTypes.array, | ||
}; |
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.
我注意到有傳scroll進去但沒有加檢查
); | ||
|
||
ObjectCard.propTypes = { | ||
width: PropTypes.number, |
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.
這個width沒用到,而且他也不是number
喔對了再自己檢查一下每個 propTypes, |
跑馬燈獨立出一個component,箭頭固定大小、位置置中,還沒加型別檢查