/react-props

A simple react project to enhance my props experience

Primary LanguageJavaScriptMIT LicenseMIT

React Pops Example

Netlify Status Demo

This is simple react project design to understand props more

Acknowledgements

This particular project is part of Bob Ziroll's react course on scrimba

Features

  • Makea a reusable components
  • How to pass a prop into a component
  • Recieving props in a components

Run Locally

Clone the project

  git clone https://github.com/bhantsi/react-props

Go to the project directory

  cd react-props

Install dependencies

  npm install

Start the server

  npm run start

Usage/Examples

import Contact from './components/Contact'

function App(props) {
  return (
  <div>
    <Contact
        name="John Doe"
        email="john.doe@domain.com"
     />
  </div>
  )
}
export default App;

Feedback

If you have any feedback, please reach out to us at bhantsi@gmail.com