فهرست منبع

docs: update sidesheet small width in doc

林艳 2 ماه پیش
والد
کامیت
1a6b364486
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      content/show/sidesheet/index-en-US.md
  2. 1 1
      content/show/sidesheet/index.md

+ 1 - 1
content/show/sidesheet/index-en-US.md

@@ -316,7 +316,7 @@ class Demo extends React.Component {
 | maskStyle | Mask style                                                                                                                 | CSSProperties | - | - |
 | maskStyle | Mask style                                                                                                                 | CSSProperties | - | - |
 | motion | Toggle whether to turn on animation                                                                                        | boolean | true | - |
 | motion | Toggle whether to turn on animation                                                                                        | boolean | true | - |
 | placement | Sliding position, one of `top`, `bottom`, `left`, `right`                                                                  | string | `right` | - |
 | placement | Sliding position, one of `top`, `bottom`, `left`, `right`                                                                  | string | `right` | - |
-| size | Size, one of `small`(400px), `medium`(684px), `large`(920px), only take effects when placement is set to `left` or `right` | string | `small` | 0.29.0 |
+| size | Size, one of `small`(448px), `medium`(684px), `large`(920px), only take effects when placement is set to `left` or `right` | string | `small` | 0.29.0 |
 | style | Inline style                                                                                                               | CSSProperties | - | - |
 | style | Inline style                                                                                                               | CSSProperties | - | - |
 | title | Title                                                                                                                      | ReactNode | - | - |
 | title | Title                                                                                                                      | ReactNode | - | - |
 | visible | Toggle visibility of the SideSheet                                                                                         | boolean | false | - |
 | visible | Toggle visibility of the SideSheet                                                                                         | boolean | false | - |

+ 1 - 1
content/show/sidesheet/index.md

@@ -79,7 +79,7 @@ import { SideSheet, RadioGroup, Radio, Button } from '@douyinfe/semi-ui';
 
 
 ### 自定义尺寸
 ### 自定义尺寸
 
 
-可以通过设置 `size` 属性设置侧边栏尺寸,支持 `small`(400px), `medium`(684px), `large`(920px),仅在 `placement` 为 `left` 或 `right` 时生效。 `0.29.0` 版本之后支持。若默认的尺寸不满足你的需求,你还可以通过设置 `width` 属性自行设置宽度,例如 `width={900}` / `width={'800px'}`
+可以通过设置 `size` 属性设置侧边栏尺寸,支持 `small`(448px), `medium`(684px), `large`(920px),仅在 `placement` 为 `left` 或 `right` 时生效。 `0.29.0` 版本之后支持。若默认的尺寸不满足你的需求,你还可以通过设置 `width` 属性自行设置宽度,例如 `width={900}` / `width={'800px'}`
 
 
 ```jsx live=true
 ```jsx live=true
 import React, { useState } from 'react';
 import React, { useState } from 'react';