-
Notifications
You must be signed in to change notification settings - Fork 0
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
Product details slider #44
Conversation
|
||
import { Breadcrumbs } from '../shared/Breadcrumbs'; | ||
import { BackButton } from '../shared/BackButton'; | ||
import { ProductDetailsSlider } from './components/ProductDetailsSlider'; | ||
import { PhoneDetail } from '../../types/PhoneDetail'; | ||
import { getPhoneDetail } from '../../api/service'; | ||
// import { ProductSlider } from '../shared/ProductSlider'; |
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.
Dont forget to remove it if you don't need it)
|
||
export const NextArrow: React.FC = () => { | ||
return ( | ||
<> |
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.
No need in a fragment component if you have only one child inside
|
||
export const PrevArrow: React.FC = () => { | ||
return ( | ||
<> |
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.
Same story, fragment component is redundant
@import '../../../styles/blocks/grid'; | ||
@import '../../../styles/utils/variables/colors'; | ||
|
||
/* Arrows */ |
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.
Don't forget about comments)
loom still doesn't work, so I added a few screenshots here