Configure React Components with Props
Props are a lot like function arguments. In fact, they ARE function arguments. Components take an object as their first function argument. Props get passed to component thru JSX attributes. Each attribute becomes a key-value pair. Use this CodeSandbox to jump right to a working example: https://codesandbox.io/s/react-holiday-day-2-ygnk3