diff --git a/05_Day_Props/05_props.md b/05_Day_Props/05_props.md index 89be431..4cb1cee 100644 --- a/05_Day_Props/05_props.md +++ b/05_Day_Props/05_props.md @@ -903,7 +903,7 @@ ReactDOM.render(, rootElement) ``` Now, let's destructure all the components we had and assemble them together. We pass props from one component to another typically from parent to a child component. -For instance in the Main component techs, user, greetPeople and handleTime props have been passed from the parent component Main to child components TechList and UserCard. Below, you will get all the codes destructured and cleaned. +For instance in the Main component techs, user, greetPeople and handleTime props have been passed from the parent component Main to child components TechList and UserCard. Below, you will get all the codes destructured and cleaned. ```js import React from 'react' @@ -995,7 +995,7 @@ const Main = ({ user, techs, greetPeople, handleTime }) => ( const Footer = ({ copyRight }) => ( ) diff --git a/05_Day_Props/30-days-of-react_boilerplate-props/src/index.js b/05_Day_Props/30-days-of-react_boilerplate-props/src/index.js index 2f31110..470e931 100644 --- a/05_Day_Props/30-days-of-react_boilerplate-props/src/index.js +++ b/05_Day_Props/30-days-of-react_boilerplate-props/src/index.js @@ -91,7 +91,7 @@ const Main = ({ user, techs, greetPeople, handleTime }) => ( const Footer = ({ copyRight }) => ( )