We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5c3d732 + f8dbe51 commit c66177bCopy full SHA for c66177b
components/page-header/index.jsx
@@ -56,7 +56,7 @@ const renderTitle = (h, prefixCls, instance) => {
56
const subTitle = getComponentFromProp(instance, 'subTitle');
57
const tags = getComponentFromProp(instance, 'tags');
58
const extra = getComponentFromProp(instance, 'extra');
59
- const backIcon = getComponentFromProp(instance, 'backIcon') || <Icon type="arrow-left" />;
+ const backIcon = getComponentFromProp(instance, 'backIcon') !== undefined ? getComponentFromProp(instance, 'backIcon') : <Icon type="arrow-left" />;
60
const onBack = instance.$listeners.back;
61
const headingPrefixCls = `${prefixCls}-heading`;
62
if (title || subTitle || tags || extra) {
0 commit comments