mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-25 08:13:34 +01:00
51 lines
702 B
React
51 lines
702 B
React
|
import React, { Component } from 'react';
|
||
|
import PropTypes from 'prop-types';
|
||
|
|
||
|
class componentName extends Component {
|
||
|
constructor(props) {
|
||
|
super(props);
|
||
|
|
||
|
}
|
||
|
|
||
|
componentWillMount() {
|
||
|
|
||
|
}
|
||
|
|
||
|
componentDidMount() {
|
||
|
|
||
|
}
|
||
|
|
||
|
componentWillReceiveProps(nextProps) {
|
||
|
|
||
|
}
|
||
|
|
||
|
shouldComponentUpdate(nextProps, nextState) {
|
||
|
|
||
|
}
|
||
|
|
||
|
componentWillUpdate(nextProps, nextState) {
|
||
|
|
||
|
}
|
||
|
|
||
|
componentDidUpdate(prevProps, prevState) {
|
||
|
|
||
|
}
|
||
|
|
||
|
componentWillUnmount() {
|
||
|
|
||
|
}
|
||
|
|
||
|
render() {
|
||
|
return (
|
||
|
<div>
|
||
|
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
componentName.propTypes = {
|
||
|
|
||
|
};
|
||
|
|
||
|
export default componentName;
|