UNPKG

krypton-ui

Version:

<h1 align="center"> <p align="center"><a href="https://krypton-ui.com"><img src="https://user-images.githubusercontent.com/7073241/224507377-395bffc0-9ff7-4d74-865b-f734394a7e7e.png" alt="Krypton" width="200"></a></p> </h1>

24 lines (23 loc) 772 B
import { ComponentPropsWithoutRef } from "react"; type ChildrenType = { children: React.ReactNode; }; type ActiveType = { active?: boolean; }; type CarouselType = { children: React.ReactNode[]; controls?: boolean; indicators?: boolean; activeIndex?: number; interval?: number; autoPlay?: boolean; onSelect?: (value: number) => void; }; type CarouselItemType = ChildrenType & ActiveType; type CarouselCaptionType = ChildrenType; export type IndicatorStyledProps = ActiveType; export type CarouselProps = ComponentPropsWithoutRef<"div"> & CarouselType; export type CarouselItemProps = ComponentPropsWithoutRef<"div"> & CarouselItemType; export type CarouselCaptionProps = ComponentPropsWithoutRef<"div"> & CarouselCaptionType; export {};