Skip to content

Commit

Permalink
chore: fix lint error for prop type validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Aug 1, 2020
1 parent 61bb54f commit 483c55a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/RelatedContentModules/Title.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import React from 'react';
import PropTypes from 'prop-types';

const Title = ({ children }) => <h4>{children}</h4>;

Title.propTypes = {
children: PropTypes.node,
};

export default Title;

0 comments on commit 483c55a

Please sign in to comment.