Documents
style-provider.en-US
style-provider.en-US
Type
External
Status
Published
Created
Jun 12, 2026
Updated
Jun 12, 2026
Source
View

Modify container#

Specify container to make all generated styles (antd, antd-style) inserted under this node.

Modify style insertion point#

In general, it is not often needed. If you need to be compatible with the requirement of component style override, you can consider setting the insertion point of the component style to insert it after this node.

Enable speedy mode#

Enable emotion's speedy mode. It is recommended to be enabled for independent applications.

API#

Inherits from ant-design/cssinjs StyleProvider, other APIs are as follows:

PropertyTypeDescription
prefixstringEmotion style prefix, default value is acss
noncestringRandom number used for CSP
stylisPluginsStylisPlugin[]Array of Stylis plugins
containerElementContainer for rendering styles
speedybooleanWhether to enable speedy mode, under speedy mode, real style will not be inserted, default is false
insertionPointHTMLElementStyle insertion point, used to control the insertion position of the first style
getStyleManager(styleManager: StyleManager) => voidCallback function to get the styleManager instance
childrenReactNodeChild components