Skip to content

add error handling with prop type checking - #2

Open
bsoung wants to merge 1 commit into
lvlrSajjad:masterfrom
bsoung:add-error-handling-proptypes
Open

add error handling with prop type checking#2
bsoung wants to merge 1 commit into
lvlrSajjad:masterfrom
bsoung:add-error-handling-proptypes

Conversation

@bsoung

@bsoung bsoung commented Oct 1, 2019

Copy link
Copy Markdown
  • Added PropTypes checking
  • Added some object destructuring for readability
  • Added some error handling in the case of wrong types being passed in as props

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.

1 participant