uview-plus
Version:
零云®uview-plus已兼容vue3支持多语言,120+全面的组件和便捷的工具会让您信手拈来。近期新增拖动排序、条码、图片裁剪、下拉刷新、虚拟列表、签名、Markdown等。
46 lines (40 loc) • 802 B
TypeScript
import { AllowedComponentProps, VNodeProps } from './_common'
declare interface StepsItemProps {
/**
* 标题文字
*/
title?: string
/**
* 描述文本
*/
current?: string
/**
* 图标大小
* @default 17
*/
iconSize?: string | number
/**
* 当前步骤是否处于失败状态
* @default false
*/
error?: boolean
}
declare interface StepsItemSlots {
// 自定步骤整体内容
['content']?: () => any,
// 自定步骤图标
['icon']?: () => any,
// 自定步骤标题
['title']?: () => any,
// 自定步骤描述
['desc']?: () => any,
}
declare interface _StepsItem {
new (): {
$props: AllowedComponentProps &
VNodeProps &
StepsItemProps
$slots: StepsItemSlots
}
}
export declare const StepsItem: _StepsItem