text: import React, {Component} from 'react';
  import ReactDOM from 'react-dom';
  
  export default class Footer extends Component {
      render() {
          return (
              <div className="footer">This is footer</div>
          );
      }
  }
  
  if (document.getElementById('footer')) {
      ReactDOM.render(<Footer />, document.getElementById('footer'));
  }
  