feat(components): add carousel components

it's inmidiatly used in the image gallery
This commit is contained in:
Alexander Navarro 2023-12-17 20:58:58 -03:00
parent 4f903c3c8d
commit 8f15b45e9b
6 changed files with 162 additions and 83 deletions

View file

@ -0,0 +1,15 @@
import React from 'react';
import classes from './Carousel.module.css';
interface Props {
children: JSX.Element | JSX.Element[];
}
export default function CarouselItem({ children }: Props): JSX.Element {
return (
<div className={classes.item}>
<div className={classes.itemContent}>{children}</div>
</div>
);
}