We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a6973 commit 2a64547Copy full SHA for 2a64547
components/vc-steps/Step.jsx
@@ -79,7 +79,7 @@ export default {
79
render () {
80
const {
81
prefixCls, itemWidth,
82
- status = 'wait', icon, tailContent,
+ status = 'wait', tailContent,
83
adjustMarginRight,
84
} = getOptionProps(this)
85
@@ -89,7 +89,7 @@ export default {
89
const classString = {
90
[`${prefixCls}-item`]: true,
91
[`${prefixCls}-item-${status}`]: true,
92
- [`${prefixCls}-item-custom`]: icon,
+ [`${prefixCls}-item-custom`]: getComponentFromProp(this, 'icon'),
93
}
94
const stepProps = {
95
class: classString,
0 commit comments