Skip to content

Commit

Permalink
chore: add prop type for className
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jul 29, 2020
1 parent cee2d25 commit 69931c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/RelatedContent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { useContext } from 'react';
import PropTypes from 'prop-types';
import { css } from '@emotion/core';
import { graphql, useStaticQuery } from 'gatsby';
import { Button, ExternalLink, Icon } from '@newrelic/gatsby-theme-newrelic';
Expand Down Expand Up @@ -67,4 +68,8 @@ const RelatedContent = ({ className }) => {
);
};

RelatedContent.propTypes = {
className: PropTypes.string,
};

export default RelatedContent;

0 comments on commit 69931c4

Please sign in to comment.