You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 9, 2020. It is now read-only.
import React, { Component, } from 'react';
class Inbox extends Component {
getCon = () => {
return (
<div>Modify the contents of the function will not be updated.</div>
)
}
render() {
return (
<div>
<h2>{this.getCon()}</h2>
<div>Here can be updated.</div>
{this.props.children || 'default'}
</div>
);
}
}
export default Inbox;