Skip to content

Sven Otto week 3 homework#1

Open
Bl4ckH4wkGER wants to merge 2 commits intofrontend-application-development-uw20:masterfrom
Bl4ckH4wkGER:master
Open

Sven Otto week 3 homework#1
Bl4ckH4wkGER wants to merge 2 commits intofrontend-application-development-uw20:masterfrom
Bl4ckH4wkGER:master

Conversation

@Bl4ckH4wkGER
Copy link

Week 3 HW Submission

Please fill out the information below in order to complete your assignment. Feel free to update this comment later if necessary.

  • Comfort rating on this assignment (1-5): 4 (first time I felt pretty comfortable and was able to use the previous class work as guidance, it's fun when stuff works)
  • Completion rating on this assignment: complete + bonus

import ShopItems from './shopitems'
import CartItems from './cartitems'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faRoute, faPassport, faShoppingCart } from '@fortawesome/free-solid-svg-icons';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When using these libraries, you'll want to make sure that they're in the package.json file. Ran into a compile error because they weren't installed when I pulled the code down.


class CartItems extends React.Component {
static propTypes = {
cartitems: PropTypes.arrayOf(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job being specific with the proptypes 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants