MCPcopy Create free account
hub / github.com/kenberkeley/react-demo / TodoView

Function TodoView

src/views/todo.js:4–18  ·  view source on GitHub ↗
({ children })

Source from the content-addressed store, hash-verified

2
3/* 待办事项 布局基页 */
4const TodoView = ({ children }) => (
5 <div className="center-block">
6 <div role="alert"
7 className="alert alert-warning alert-dismissible">
8 <button
9 type="button"
10 className="close"
11 data-dismiss="alert">
12 <span aria-hidden="true">&times;</span>
13 </button>
14 <strong>该 Todo 示例无需 后端 RESTful API 支持</strong>
15 </div>
16 { children }
17 </div>
18)
19
20export default TodoView

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected