diff --git a/src/index.js b/src/index.js index 813cacb..0f5994f 100644 --- a/src/index.js +++ b/src/index.js @@ -334,7 +334,7 @@ class Wizard extends React.Component { {this.props.steps.map((prop, key) => { - + const Component = React.forwardRef(prop.component); return ( {typeof prop.component === "function" || typeof prop.component === "object" ? ( -