-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
707c439
commit de7e18e
Showing
9 changed files
with
84 additions
and
17 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
src/components/Carousel/DynamicSlides/SplideButtons/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import IconButton from '@components/Button/IconButton'; | ||
import ArrowMoveIcon from '@icons/utility/ArrowMoveIcon'; | ||
import { alpha, styled } from '@mui/material'; | ||
import React from 'react'; | ||
|
||
const StyledIconButton = styled(IconButton)(({ theme }) => ({ | ||
|
||
[theme.breakpoints.down('md')]: { | ||
display: 'none' + ' !important', | ||
}, | ||
})); | ||
|
||
const StyledMoveIcon = styled(ArrowMoveIcon)(({ theme }) => ({ | ||
height: '1.25rem' + ' !important', | ||
width: '1.25rem' + ' !important', | ||
})); | ||
|
||
const SplideButtons = () => { | ||
return ( | ||
<div className="splide__arrows"> | ||
<StyledIconButton className="splide__arrow splide__arrow--prev"> | ||
<StyledMoveIcon /> | ||
</StyledIconButton> | ||
<StyledIconButton className="splide__arrow splide__arrow--next"> | ||
<StyledMoveIcon /> | ||
</StyledIconButton> | ||
</div> | ||
) | ||
}; | ||
|
||
export default SplideButtons; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { UtilityIconProps } from '@interfaces/SVGProps'; | ||
import svgCommonProps from '@utils/svgCommonProps'; | ||
import React from 'react'; | ||
|
||
const ArrowMoveIcon = ({ hovered, ...props }: UtilityIconProps) => { | ||
return ( | ||
<svg | ||
{...svgCommonProps} | ||
data-name="Arrow Move Icon" | ||
width="50" | ||
height="50" | ||
viewBox="0 0 50 50" | ||
{...props} | ||
> | ||
<path d="M13.6576,40.40458H7.98276a.96039.96039,0,0,1-1.0356-.86075V11.17955a.96039.96039,0,0,1,1.0356-.86075H13.6576a.96039.96039,0,0,1,1.0356.86075V39.54383A.96039.96039,0,0,1,13.6576,40.40458ZM48.93976,25.36167,32.83049,41.47094,30.661,39.30141,43.06667,26.89576H20.49136V23.82759H43.06667L30.661,11.422l2.16953-2.16953Z" /> | ||
</svg> | ||
) | ||
}; | ||
|
||
export default ArrowMoveIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import { Breakpoints as MuiBreakpoints } from '@mui/material'; | ||
|
||
interface Values { | ||
xs: number; | ||
sm: number; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters