All files / src/container/todo index.jsx

0% Statements 0/15
0% Branches 0/4
0% Functions 0/2
0% Lines 0/8
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