浏览代码

chore: docs

DaiQiangReal 1 年之前
父节点
当前提交
0f120b789d
共有 2 个文件被更改,包括 9 次插入9 次删除
  1. 5 5
      content/other/configprovider/index-en-US.md
  2. 4 4
      content/other/configprovider/index.md

+ 5 - 5
content/other/configprovider/index-en-US.md

@@ -104,11 +104,11 @@ function Demo(props = {}) {
                 return <Typography.Text ellipsis={{ showTooltip: {opts:{style:{minWidth:"1200px"}} }}}  style={{ width: 600 }}>
                   {JSON.stringify(value)}
                 </Typography.Text>
-             }}
-              </ConfigConsumer>
-                {/*...*/}
-              </ConfigProvider>
-              );
+              }}
+            </ConfigConsumer>
+            {/*...*/}
+          </ConfigProvider>
+  );
 }
 
 ```

+ 4 - 4
content/other/configprovider/index.md

@@ -108,10 +108,10 @@ function Demo(props = {}) {
                   {JSON.stringify(value)}
                 </Typography.Text>
              }}
-              </ConfigConsumer>
-                {/*...*/}
-              </ConfigProvider>
-              );
+            </ConfigConsumer>
+            {/*...*/}
+          </ConfigProvider>
+          );
 }
 
 ```