@hhgtech/hhg-components
Version:
Hello Health Group common components
21 lines (20 loc) • 747 B
TypeScript
import React, { HTMLAttributes } from 'react';
import { CarouselProps as MantineCarouselProps } from '@mantine/carousel';
export type CentralCarouselProps = {
maxBlurOpacity?: number;
blurFromCenter?: boolean;
blurFromIndex?: number;
blurLength?: number;
selectSlideWhenClick?: boolean;
onSlideChange?: (index: number) => void;
} & MantineCarouselProps;
export type CarouselSlideProps = {
children: any;
onClick?: (index: number) => void;
innerSlideProps?: HTMLAttributes<HTMLDivElement>;
};
export interface CompoundedComponent extends React.ForwardRefExoticComponent<CentralCarouselProps> {
Slide: any;
}
declare const CentralCarousel: CompoundedComponent;
export { CentralCarousel };