import {
	Meta,
	Story,
	Preview,
	Props,
	Description
} from "@storybook/blocks";
import HoverSlideshowAnimated from "./HoverSlideshowAnimated";
import { createNumberedArray } from "./utils";

<Meta title="Demos/HoverSlideshowAnimated" component={HoverSlideshowAnimated} />

# HoverSlideshowAnimated

<br />

## Description

<Description of={HoverSlideshowAnimated} />

View the [story source](https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/src/HoverSlideshowAnimated.stories.mdx)

## Props

<Props of={HoverSlideshowAnimated} />

## Preview

<Preview>
	<Story name="default">
		<HoverSlideshowAnimated
			aria-label="Muybridge horse gallop slideshow"
			width="410px"
			height="308px"
			LoadingPlaceholder={ ({ progressPercent }) => `${progressPercent}% loaded` }
			images={[
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/01.jpg",
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/02.jpg",
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/03.jpg",
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/04.jpg",
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/05.jpg",
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/06.jpg",
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/07.jpg",
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/08.jpg",
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/09.jpg",
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/10.jpg",
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/11.jpg",
				"https://raw.githubusercontent.com/davidcalhoun/react-hover-slideshow/master/static/12.jpg"
			]}
		/>
	</Story>
</Preview>
