Bläddra i källkod

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

songjianet 4 år sedan
förälder
incheckning
35b1e5299e
2 ändrade filer med 3 tillägg och 3 borttagningar
  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.;
 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
 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
 ### 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"
 ```jsx live=true dir="column"
 import React from 'react';
 import React from 'react';

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

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