Skip to content

Commit

Permalink
docs(Stepper): sync api doc (#3472)
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 authored Jan 24, 2025
1 parent 9caa8d7 commit b7f0422
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/stepper/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ name | params | description
-- | -- | --
blur | `({ type: string \| number })` | \-
change | `({ value: string \| number })` | \-
focus | `(value: string \| number)` | \-
focus | `({ value: string \| number }))` | \-
overlimit | `({type: 'minus' \| 'plus'})` | \-

### Stepper External Classes
Expand Down
2 changes: 1 addition & 1 deletion src/stepper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ default-value | String / Number | undefined | 值。非受控属性 | N
-- | -- | --
blur | `({ type: string \| number })` | 输入框失去焦点时触发
change | `({ value: string \| number })` | 数值发生变更时触发
focus | `(value: string \| number)` | 输入框聚焦时触发
focus | `({ value: string \| number }))` | 输入框聚焦时触发
overlimit | `({type: 'minus' \| 'plus'})` | 数值超出限制时触发

### Stepper External Classes
Expand Down
4 changes: 0 additions & 4 deletions src/stepper/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ const props: TdStepperProps = {
type: null,
value: undefined,
},
/** 组件类名,分别用于表示组件外层元素、输入框、右侧递增号、左侧递减号等元素类名 */
externalClasses: {
type: Array,
},
/** 输入框宽度,默认单位 `px` */
inputWidth: {
type: Number,
Expand Down
7 changes: 0 additions & 7 deletions src/stepper/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ export interface TdStepperProps {
type: BooleanConstructor;
value?: boolean;
};
/**
* 组件类名,分别用于表示组件外层元素、输入框、右侧递增号、左侧递减号等元素类名
*/
externalClasses?: {
type: ArrayConstructor;
value?: ['t-class', 't-class-input', 't-class-add', 't-class-minus'];
};
/**
* 输入框宽度,默认单位 `px`
*/
Expand Down

0 comments on commit b7f0422

Please sign in to comment.