Ant Design static message and Modal methods bypass ConfigProvider theme and locale context
Ant Design's static message , notification , and Modal.confirm methods are documented as imperative helpers that render outside the normal React component tree. In applications that rely on ConfigProvider for dynamic theme tokens or locale switching, these static calls are expected to use default styling and default language strings rather than inheriting th