mediaIcon: PropTypes.string,
parseClick: PropTypes.func,
disabled: PropTypes.bool,
+ onUpdate: PropTypes.func,
};
state = {
componentDidUpdate () {
this._updateStatusLinks();
+ if (this.props.onUpdate) this.props.onUpdate();
}
onLinkClick = (e) => {
this._measureHeight(prevState.height !== this.state.height);
}
+ handleChildUpdate = () => {
+ this._measureHeight();
+ }
+
handleModalLink = e => {
e.preventDefault();
collapsed={false}
onExpandedToggle={onToggleHidden}
parseClick={this.parseClick}
+ onUpdate={this.handleChildUpdate}
/>
<div className='detailed-status__meta'>