Skip to content

Instantly share code, notes, and snippets.

/App.js
Created Jan 7, 2017

Embed
What would you like to do?
react sample for export and import
import React, { Component } from 'react';
import Shiva from './shiva';
import logo from './logo.svg';
import './App.css';
class App extends Component {
render() {
return (
<div className="App">
<div className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h2>Welcome to Reactss</h2>
</div>
<Shiva></Shiva>
</div>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.