fix: configProvider is not a function (#2355)
parent
44c048580b
commit
5417d929d7
|
@ -95,7 +95,7 @@ const Alert = {
|
|||
|
||||
render() {
|
||||
const { prefixCls: customizePrefixCls, banner, closing, closed } = this;
|
||||
const getPrefixCls = this.configProvider().getPrefixCls;
|
||||
const getPrefixCls = this.configProvider.getPrefixCls;
|
||||
const prefixCls = getPrefixCls('alert', customizePrefixCls);
|
||||
|
||||
let { closable, type, showIcon } = this;
|
||||
|
|
Loading…
Reference in New Issue