pass in this child as a prop to Carbon

main
Mike Fix 2 years ago
parent bd8cb2a66e
commit 8a8edcfef8
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -225,7 +225,7 @@ class Carbon extends React.PureComponent {
<div className="bg" /> <div className="bg" />
</div> </div>
{/* TODO define innerRef in Editor, and pass in this child as a prop to Carbon */} {/* TODO pass in this child as a prop to Carbon */}
<WidthHandler <WidthHandler
innerRef={this.props.innerRef} innerRef={this.props.innerRef}
onChange={this.props.updateWidth} onChange={this.props.updateWidth}

Loading…
Cancel
Save