diff --git a/react/todo-app/src/App.js b/react/todo-app/src/App.js index e839d2b6..cf636f46 100644 --- a/react/todo-app/src/App.js +++ b/react/todo-app/src/App.js @@ -2,6 +2,36 @@ import React, { Component } from "react"; import "./App.css"; export default class App extends Component { + btnStyle = { + color: "#fff", + border: "none", + padding: "5px 9px", + borderRadius: "50%", + cursor: "pointer", + float: "right", + }; + + getStyle = () => { + return { + padding: "10px", + borderBottom: "1px #ccc dotted", + textDecoration: "none", + }; + }; + + todoData = [ + { + id: "1", + title: "공부하기", + completed: true, + }, + { + id: "2", + title: "청소하기", + completed: false, + }, + ]; + render() { return (