| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | import React from 'react'; import App from '../app/index'; import TodoApp from './component/TodoApp'; import CheckboxWithLabel from './component/CheckboxWithLabel'; function TodoModule() { const appProps = { title: 'Welcome to React', } const checkboxWithLabelProps = { labelOn: "On", labelOff: "Off" } return ( <App {...appProps} > <TodoApp /> <br/> <br/> <br/> <CheckboxWithLabel {...checkboxWithLabelProps} /> </App> ) } export default TodoModule |