Closed ArtyomVancyan closed 4 months ago
Changing the prefixCls doesn't make sense when it's provided via ConfigProvider.
prefixCls
ConfigProvider
<ConfigProvider prefixCls="custom-prefix"> <PhoneInput enableSearch/> </ConfigProvider>
OR
<PhoneInput prefixCls="custom-prefix" enableSearch/>
EDIT: The direct property doesn't override the class prefixes of the inner components, so rather, don't change it, keeping work with default behavior.
Bug description
Changing the
prefixCls
doesn't make sense when it's provided viaConfigProvider
.OR
EDIT: The direct property doesn't override the class prefixes of the inner components, so rather, don't change it, keeping work with default behavior.