@itwin/itwinui-react
Version:
A react component library for iTwinUI
29 lines (28 loc) • 2.02 kB
TypeScript
import * as React from 'react';
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
/**
* The `CarouselNavigation` component by default consists of the `PreviousButton` and `NextButton`
* shown on the left and right, and the `CarouselDotsList` component shown in the middle.
*
* `children` can be specified to override what is shown in this navigation section.
*/
export declare const CarouselNavigation: PolymorphicForwardRefComponent<"div", {}> & {
PreviousButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
isActive?: boolean;
label?: React.ReactNode;
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
iconProps?: React.ComponentProps<"span">;
title?: string;
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
as?: "button" | undefined;
}>;
NextButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
isActive?: boolean;
label?: React.ReactNode;
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
iconProps?: React.ComponentProps<"span">;
title?: string;
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
as?: "button" | undefined;
}>;
};