Commit 43e5ccba authored by amarcic's avatar amarcic
Browse files

added basic examples for file and folder structure

parent f7866525
import React from 'react';
export const HelloComputerButton = props => {
return(
<button>Hello Computer</button>
);
}
\ No newline at end of file
export { HelloComputerButton } from './HelloComputerButton/HelloComputerButton';
\ No newline at end of file
import React from 'react';
import ReactDOM from 'react-dom';
import { HelloComputerButton } from './components/';
import './index.css';
class App extends React.Component{
render(){
return(
<div>Hello World</div>
<div>
<span>Hello World</span><br />
<HelloComputerButton/>
</div>
)
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment