forked from davidjerleke/embla-carousel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1523-595b79fc1b4b0ade3b67.js.map
1 lines (1 loc) · 1.1 KB
/
1523-595b79fc1b4b0ade3b67.js.map
1
{"version":3,"file":"1523-595b79fc1b4b0ade3b67.js","mappings":"uIAAA,+yB","sources":["webpack://embla-carousel-docs/./src/components/Sandbox/React/SandboxFilesDist/Default/EmblaCarousel.jsx"],"sourcesContent":["export default \"import React from 'react';\\nimport useEmblaCarousel from 'embla-carousel-react';\\nimport imageByIndex from '../imageByIndex';\\n\\nconst EmblaCarousel = (props) => {\\n const { slides, options } = props;\\n const [emblaRef] = useEmblaCarousel(options);\\n \\n return (<div className=\\\"embla\\\">\\n <div className=\\\"embla__viewport\\\" ref={emblaRef}>\\n <div className=\\\"embla__container\\\">\\n {slides.map((index) => (<div className=\\\"embla__slide\\\" key={index}>\\n <div className=\\\"embla__slide__number\\\">\\n <span>{index + 1}</span>\\n </div>\\n <img className=\\\"embla__slide__img\\\" src={imageByIndex(index)} alt=\\\"Your alt text\\\"/>\\n </div>))}\\n </div>\\n </div>\\n </div>);\\n};\\n\\nexport default EmblaCarousel;\\n\";"],"names":[],"sourceRoot":""}