UNPKG

@hhgtech/hhg-components

Version:
20 lines (19 loc) 813 B
import React from 'react'; import { CarouselProps as MantineCarouselProps } from '@mantine/carousel'; import { PillProps } from "../../atoms/pill"; import { LocaleType } from "../../../interfaces/types"; import { PregnancyWeek } from "../../../together/interfaces/types"; export type PillCarouselProps = { data: PregnancyWeek[]; isMobile?: boolean; onSlideChange?: (index: number) => void; pillProps?: PillProps; locale?: LocaleType; blurFromIndex?: number; blurLength?: number; } & MantineCarouselProps; /** * @deprecated Consider to use at '@hhgtech/hhg-components/mantine' */ declare const PillCarousel: ({ data, isMobile, onSlideChange, pillProps, locale, blurFromIndex, blurLength, ...rest }: PillCarouselProps) => React.JSX.Element; export { PillCarousel };