mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
13 lines
414 B
TypeScript
13 lines
414 B
TypeScript
import { BsmImage } from '../shared/bsm-image.component';
|
|
import './slideshow.component.css';
|
|
|
|
export function Slideshow(props: {className: string, images: string[]}) {
|
|
return (
|
|
<div className={`slide ${props.className}`}>
|
|
{
|
|
props.images.map((i, index) => <BsmImage key={i} className='w-full h-full object-cover' image={i} style={{animationDelay: `${index * 10}s`}}/>)
|
|
}
|
|
</div>
|
|
)
|
|
}
|