/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* eslint-disable global-require */ import React, {type ComponentProps} from 'react'; import { CarouselProvider, Slider, Slide, ButtonBack, ButtonNext, DotGroup, } from 'pure-react-carousel'; import Link from '@docusaurus/Link'; import Image from '@theme/IdealImage'; import 'pure-react-carousel/dist/react-carousel.es.css'; import styles from './ShowcaseCarousel.module.css'; type Site = { name: string; image: ComponentProps['img']; url: string; }; function SiteSlide({index, site}: {index: number; site: Site}) { return ( {site.name} 🔗 {site.name} ); } export default function ShowcaseCarousel({ sites, aspectRatio, }: { sites: Site[]; aspectRatio: number; }): JSX.Element { return ( {sites.map((site, index) => ( ))} {'>'} {'<'} ); } export function ShowcaseCarouselV1(): JSX.Element { return ( ); } export function ShowcaseCarouselV2(): JSX.Element { return ( ); } export function ShowcaseCarouselV2Theming(): JSX.Element { return ( ); }