Creates slides from data (WIP). Depends on React (obviously), React Spring, react-use-gesture and Styled Components.
Suppose you have a beautiful MovieCard component for some fav movies that need to be rendered as slideshow:
const cardsMovieData = [
{ title: "La vita è bella", origin: "Italy" },
{ title: "Okuribito", origin: "Japan" },
{ title: "Capernaum", origin: "Lebanon" },
{ title: "La Jetée", origin: "France" },
{ title: "Roma", origin: "Mexico" },
];
function MovieSlides() {
return (
<Slides items={cardsMovieData} disableDots>
{(movieData) => (
<MovieCard {...movieData} />
)}
</Slides>
);
}In the project directory, you can run:
Runs the dev server with Storybook. Open http://localhost:6006 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
Uses Rollup to build the app for production to the build folder. The build is minified and the filenames include the hashes.
