project init & fix ui
This commit is contained in:
34
miniprogram_npm/tdesign-miniprogram/steps/README.en-US.md
Normal file
34
miniprogram_npm/tdesign-miniprogram/steps/README.en-US.md
Normal file
@@ -0,0 +1,34 @@
|
||||
:: BASE_DOC ::
|
||||
|
||||
## API
|
||||
### Steps Props
|
||||
|
||||
name | type | default | description | required
|
||||
-- | -- | -- | -- | --
|
||||
current | String / Number | 0 | \- | N
|
||||
default-current | String / Number | undefined | uncontrolled property | N
|
||||
current-status | String | process | options:default/process/finish/error | N
|
||||
custom-style `v0.25.0` | String | - | \- | N
|
||||
external-classes | Array | - | `['t-class']` | N
|
||||
layout | String | horizontal | options:horizontal/vertical | N
|
||||
readonly | Boolean | false | \- | N
|
||||
separator | String | line | options:line/dashed/arrow | N
|
||||
theme | String | default | options:default/dot | N
|
||||
|
||||
### Steps Events
|
||||
|
||||
name | params | description
|
||||
-- | -- | --
|
||||
change | `({current: string \| number, previous: string \| number})` | \-
|
||||
|
||||
### StepItem Props
|
||||
|
||||
name | type | default | description | required
|
||||
-- | -- | -- | -- | --
|
||||
content | String / Slot | '' | \- | N
|
||||
custom-style | String | - | \- | N
|
||||
external-classes | Array | - | `['t-class', 't-class-content', 't-class-title', 't-class-description', 't-class-extra']` | N
|
||||
icon | String / Slot | - | \- | N
|
||||
status | String | default | options:default/process/finish/error。Typescript:`StepStatus` `type StepStatus = 'default' \| 'process' \| 'finish' \| 'error'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/steps/type.ts) | N
|
||||
sub-step-items | Array | [] | Typescript:`SubStepItem[]` `interface SubStepItem { status: StepStatus, title: string }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/steps/type.ts) | N
|
||||
title | String / Slot | '' | \- | N
|
||||
Reference in New Issue
Block a user