fix: update carousel arrow icon

This commit is contained in:
José Oliveira 2021-08-17 13:25:48 +01:00
parent 2f2285e943
commit 08e570a6c0
2 changed files with 11 additions and 1 deletions

View file

@ -2,6 +2,7 @@ import { makeStyles } from '@material-ui/core/styles'
import React, { memo } from 'react'
import ReactCarousel from 'react-material-ui-carousel'
import { ReactComponent as Arrow } from 'src/styling/icons/arrow/carousel-arrow.svg'
import { URI } from 'src/utils/apollo'
const useStyles = makeStyles({
@ -27,11 +28,13 @@ export const Carousel = memo(({ photosData, slidePhoto }) => {
return (
<>
<ReactCarousel
PrevIcon={<Arrow />}
NextIcon={<Arrow />}
navButtonsProps={{
style: {
backgroundColor: 'transparent',
borderRadius: 0,
fontSize: 100
width: 50
}
}}
className={classes.slideButtons}