Files
ssl-manager/frontend/node_modules/element-plus/es/components/carousel/src/carousel-item.d.ts
T
2026-04-08 17:52:38 +08:00

28 lines
1006 B
TypeScript

import { EpPropFinalized } from "../../../utils/vue/props/types.js";
import "../../../utils/index.js";
import { ExtractPublicPropTypes } from "vue";
//#region ../../packages/components/carousel/src/carousel-item.d.ts
interface CarouselItemProps {
/**
* @description name of the item, can be used in `setActiveItem`
*/
name?: string;
/**
* @description text content for the corresponding indicator
*/
label?: string | number;
}
/**
* @deprecated Removed after 3.0.0, Use `CarouselItemProps` instead.
*/
declare const carouselItemProps: {
readonly name: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
readonly label: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
};
/**
* @deprecated Removed after 3.0.0, Use `CarouselItemProps` instead.
*/
type CarouselItemPropsPublic = ExtractPublicPropTypes<typeof carouselItemProps>;
//#endregion
export { CarouselItemProps, CarouselItemPropsPublic, carouselItemProps };