Added support for prefixCls provided by ConfigProvider, in the scope of #80. The problem was that when providing a prefixCls, it was supposed to change the default ant- prefixes of the children components with the provided one, but it didn't. It caused style disappearing issues for users who were using custom @ant-prefix in their project.
All Submissions:
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes to Core Features:
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you updated the documentation related to the changes you have made?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully run tests with your changes locally?
Motivation:
Added support for
prefixCls
provided by ConfigProvider, in the scope of #80. The problem was that when providing aprefixCls
, it was supposed to change the defaultant-
prefixes of the children components with the provided one, but it didn't. It caused style disappearing issues for users who were using custom@ant-prefix
in their project.All Submissions:
Changes to Core Features: