From 6f0220b0f6e9648ca407f74caf0560a8d1cac19a Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 22 Jul 2021 10:20:35 +0800 Subject: [PATCH] docs(ConfigProvider): add scope tip (#9081) --- src/config-provider/README.md | 2 ++ src/config-provider/README.zh-CN.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/config-provider/README.md b/src/config-provider/README.md index 070800718..ca9ba1088 100644 --- a/src/config-provider/README.md +++ b/src/config-provider/README.md @@ -112,6 +112,8 @@ export default { }; ``` +> Tips:ConfigProvider only affects its child components. + ### CSS Variables There are some **Basic Variables** below, for component CSS Variables, please refer to the documentation of each component. diff --git a/src/config-provider/README.zh-CN.md b/src/config-provider/README.zh-CN.md index 7937cc0dd..2f6e214ab 100644 --- a/src/config-provider/README.zh-CN.md +++ b/src/config-provider/README.zh-CN.md @@ -112,6 +112,8 @@ export default { }; ``` +> 注意:ConfigProvider 仅影响它的子组件的样式,不影响全局 root 节点。 + ### CSS 变量 下面是所有的**基础样式变量**,所有组件的样式变量请参考各个组件文档底部的表格。