@porsche-design-system/components-react
Version:
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.
25 lines (24 loc) • 915 B
TypeScript
import { Component } from 'react';
import type { JSX } from 'react';
/**
* @slot {"name": "heading", "description": "Renders a heading above the carousel." }
* @slot {"name": "description", "description": "Renders descriptive content below the heading." }
* @slot {"name": "controls", "description": "Renders custom controls such as navigation buttons or indicators." }
* @slot {"name": "", "description": "Default slot for the carousel slides." }
*
* @controlled { "props": ["activeSlideIndex"], "event": "update", "isInternallyMutated": true }
*/
export declare class DSRCarousel extends Component<any> {
host: HTMLElement;
private amountOfPages;
private splide;
private container;
private btnPrev;
private btnNext;
private paginationEl;
private slides;
private get splideSlides();
private get hasNavigation();
render(): JSX.Element;
private getPageCount;
}