Browse Source

docs: update rating description

pointhalo 1 year ago
parent
commit
34ebf90f52
2 changed files with 5 additions and 5 deletions
  1. 2 2
      content/input/rating/index-en-US.md
  2. 3 3
      content/input/rating/index.md

+ 2 - 2
content/input/rating/index-en-US.md

@@ -19,7 +19,7 @@ import { Rating } from '@douyinfe/semi-ui';
 
 Support two sizes: `default`, `small`.
 
-**v >= 0.35.0** supports customized size if pass in a number. Refer to [Customize](#Customize)
+Supports customized size if pass in a number. Refer to [Customize](#Customize)
 
 ```jsx live=true
 import React from 'react';
@@ -37,7 +37,7 @@ import { Rating } from '@douyinfe/semi-ui';
 
 ### Half Star
 
-Use `allowHalf` to support selection of half stars. After `v0.28.0`, it also supports to **display** decimals ratings other than 0.5.
+Use `allowHalf` to support selection of half stars. Support to **display** decimals ratings other than 0.5.
 
 ```jsx live=true
 import React from 'react';

+ 3 - 3
content/input/rating/index.md

@@ -19,7 +19,7 @@ import { Rating } from '@douyinfe/semi-ui';
 
 最简单的用法,支持两种尺寸 `default`, `small`。  
 
-**v >= 0.35.0** 后支持传入 number 类型自定义尺寸。具体可以参考[自定义](#自定义)
+支持传入 number 类型自定义尺寸。具体可以参考[自定义](#自定义)
 
 ```jsx live=true
 import React from 'react';
@@ -37,7 +37,7 @@ import { Rating } from '@douyinfe/semi-ui';
 
 ### 半星
 
-通过设置 `allowHalf` 属性可以支持选择半星。`0.28.0` 版本之后,设置 `allowHalf` 属性支持**展示**除0.5以外的小数。
+通过设置 `allowHalf` 属性可以支持选择半星。 `allowHalf` 属性支持**展示**除0.5以外的小数。
 
 ```jsx live=true
 import React from 'react';
@@ -110,7 +110,7 @@ import { Rating } from '@douyinfe/semi-ui';
 ### 自定义
 
 自定义评分字符、个数及尺寸。  
-> **v >= 0.35.0** 自定义尺寸需要配合自定义的字符才能生效。
+自定义尺寸需要配合自定义的字符才能生效。
 
 ```jsx live=true
 import React from 'react';