You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/ConfigProvider/index.en.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ toc: 'content'
9
9
10
10
# ConfigProvider
11
11
12
-
Used to globally configure Antd-Mini components, provide theme customization, internationalization support.
12
+
For global configuration Ant Design Mini components, provide theme customization, internationalization support.
13
13
14
-
can pass `ConfigProvider` component to globally configure Antd-Mini components, including:
14
+
can pass `ConfigProvider` component to globally configure Ant Design Mini components, including:
15
15
16
16
- Setting the theme globally,[CSS Variables](https://developer.mozilla.org/zh-CN/docs/Web/CSS/Using_CSS_custom_properties) To organize styles, by overwriting these CSS variables, you can customize the theme, dynamically switch the theme and other effects;
17
17
- Global setting internationalization, multi-language support by setting Locales;
| animation | Whether to turn on transition animation | boolean | true |
136
-
| animationType | Animation type, optional`transform``position`, the default is used`transform`Animation performance is better. However, when there is a fixed positioning or picker-view element inside the pop-up window, there may be a style problem, which can be switched`position`Solve | string |`transform`|
| duration | Transition animation duration, in milliseconds | number | 300 |
140
-
| height | The height, in position, is `top` or `bottom` When used, the unit is px. Optional, when not transmitted, it is highly adaptive according to the content area. | number | - |
141
-
| maskClassName | Class name of the layer | string | - |
142
-
| maskStyle | The style of the layer | string | - |
143
-
| position | Pop-up window layout, optional`top``bottom``left``right`| string |`bottom`|
144
-
| showMask | Whether to show the layer | boolean | true |
| animation | Whether to turn on transition animation | boolean | true |
136
+
| animationType | Animation type, optional`transform``position`, the default is used`transform`Animation performance is better. However, when there is a fixed positioning or picker-view element inside the pop-up window, there may be a style problem, which can be switched`position`Solve | string |`transform`|
| duration | Transition animation duration, in milliseconds | number | 300 |
141
+
| height | The height, in position, is `top` or `bottom` When used, the unit is px. Optional, when not transmitted, it is highly adaptive according to the content area. | number | - |
142
+
| maskClassName | Class name of the layer | string | - |
143
+
| maskStyle | The style of the layer | string | - |
144
+
| position | Pop-up window layout, optional`top``bottom``left``right`| string |`bottom`|
145
+
| showMask | Whether to show the layer | boolean | true |
0 commit comments