disqus / disqus-react

A React component for Disqus
MIT License
365 stars 46 forks source link

Add prop-type validations for components #57

Closed tterb closed 4 years ago

tterb commented 4 years ago

Description

Added prop-type validations for DiscussionEmbed, CommentCount, and CommentEmbed components.

Motivation and Context

Prop-type validation offers minimal typechecking that helps to troubleshoot issues and catch potential bugs.

How Has This Been Tested?

Tested using the disqus-react example website.

Screenshots (if appropriate):

Types of changes

Checklist:


This change is Reviewable