Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

no unuseds varsnreactjs

import React, { Component } from 'react';
import Header from './header.js';/* change this file to Header.js */

export default class App extends Component {
  render() {
    return (
      <div>
        <Header />
        {this.props.children}
      </div>
    );
  }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unuseds #varsnreactjs
ADD COMMENT
Topic
Name
2+9 =