浏览代码

docs(steps): Update steps docs (#129)

songjianet 4 年之前
父节点
当前提交
35b1e5299e
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      content/navigation/steps/index-en-US.md
  2. 1 1
      content/navigation/steps/index.md

+ 2 - 2
content/navigation/steps/index-en-US.md

@@ -22,7 +22,7 @@ import { Steps } from '@douyinfe/semi-ui';
 const Step = Steps. Step.;
 ```
 
-### Default step bar(Deperecated)
+### Default step bar(Deprecated)
 
 It is recommended to use the simple version of steps, which will be gradually deprecated later
 
@@ -262,7 +262,7 @@ import { IconHome, IconLock, IconClear, IconTickCircle } from '@douyinfe/semi-ic
 
 ### onChange CallBack
 
-Since version 1.29.0, onChange is supported, which can be used to realize the processing progress. onChange receives a parameter of type number, which is equal to inital + current.
+Since version 1.29.0, onChange is supported, which can be used to realize the processing progress. onChange receives a parameter of type number, which is equal to initial + current.
 
 ```jsx live=true dir="column"
 import React from 'react';

+ 1 - 1
content/navigation/steps/index.md

@@ -264,7 +264,7 @@ import { IconHome, IconLock } from '@douyinfe/semi-icons';
 
 ### onChange 回调
 
-从 1.29.0 版本开始支持 onChange,可以使用它来实现处理进度。onChange 接收一个 number 类型的参数,该参数等于 inital + current。
+从 1.29.0 版本开始支持 onChange,可以使用它来实现处理进度。onChange 接收一个 number 类型的参数,该参数等于 initial + current。
 
 ```jsx live=true dir="column" hideInDSM
 import React from 'react';