-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Slider): remove externalClasses and style props
- Loading branch information
Showing
6 changed files
with
78 additions
and
243 deletions.
There are no files selected for viewing
Binary file not shown.
30 changes: 30 additions & 0 deletions
30
packages/products/tdesign-miniprogram/src/step-item/props.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC | ||
* */ | ||
|
||
import { TdStepItemProps } from './type'; | ||
const props: TdStepItemProps = { | ||
/** 步骤描述 */ | ||
content: { | ||
type: String, | ||
value: '', | ||
}, | ||
/** 图标。传入 slot 代表使用插槽,其他字符串代表使用内置图标 */ | ||
icon: { | ||
type: String, | ||
}, | ||
/** 当前步骤的状态:默认状态(未开始)、进行中状态、完成状态、错误状态 */ | ||
status: { | ||
type: String, | ||
value: 'default', | ||
}, | ||
/** 标题 */ | ||
title: { | ||
type: String, | ||
value: '', | ||
}, | ||
}; | ||
|
||
export default props; |
41 changes: 41 additions & 0 deletions
41
packages/products/tdesign-miniprogram/src/step-item/type.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC | ||
* */ | ||
|
||
export interface TdStepItemProps { | ||
/** | ||
* 步骤描述 | ||
* @default '' | ||
*/ | ||
content?: { | ||
type: StringConstructor; | ||
value?: string; | ||
}; | ||
/** | ||
* 图标。传入 slot 代表使用插槽,其他字符串代表使用内置图标 | ||
*/ | ||
icon?: { | ||
type: StringConstructor; | ||
value?: string; | ||
}; | ||
/** | ||
* 当前步骤的状态:默认状态(未开始)、进行中状态、完成状态、错误状态 | ||
* @default default | ||
*/ | ||
status?: { | ||
type: StringConstructor; | ||
value?: StepStatus; | ||
}; | ||
/** | ||
* 标题 | ||
* @default '' | ||
*/ | ||
title?: { | ||
type: StringConstructor; | ||
value?: string; | ||
}; | ||
} | ||
|
||
export type StepStatus = 'default' | 'process' | 'finish' | 'error'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters