Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
13 changes: 13 additions & 0 deletions 1주차/Boox.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from "react";

function Book(props){
return{
<div>
<h1> {'이 책의 이름은 ${props.name}입니다.'}</h1>
<h2>{'이 책은 총 ${props.numOfPage} 페이지로 이루어져 있습니다.'}</h2>
</div>
};

}

export default Book;
14 changes: 14 additions & 0 deletions 1주차/Library.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from "react";
import Book from "./Book";

function Library(props){
return{
<div>
<Book name = "처음 만난 파이썬" numOfPage= {300} />
<Book name = "처음 만난 AWS" numOfPage= {400} />
<Book name = "처음 만난 리액트" numOfPage= {500} />
</div>
};
}

export default Library;
Empty file added 1주차/index.html
Empty file.
16 changes: 16 additions & 0 deletions 1주차/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from "react";
import ReactDOM from 'react-dom';
import './index.css';
import App form './App';
import reportWebVitals from './reportWebVitals';

import Library from "./library";

ReactDOM.render{
<React.StrictMode>
<Library/>
</React.StrictMode>
document.getElementById('root')
};

reportWebVitals();
2 changes: 0 additions & 2 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions efub6-first-react-study
Submodule efub6-first-react-study added at 490097
Loading