[modern-react] 리액트 스터디 파일 추가
This commit is contained in:
11
modern-react/my-modern/App.js
Normal file
11
modern-react/my-modern/App.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const APP_TITLE = 'React 앱';
|
||||
|
||||
export function getTriangle(base, height) {
|
||||
return base * height / 2;
|
||||
}
|
||||
|
||||
export class Article {
|
||||
getAppTitle() {
|
||||
return APP_TITLE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user