Skip to content

Commit 64170f0

Browse files
committed
[ADD]🚀 GifGridItem tests added
1 parent 02fbe32 commit 64170f0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎src/components/GifGridItem.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react';
2+
import PropTypes from 'prop-types';
23

34
const GifGridItem = ({url, title}) => {
45
return (
@@ -9,5 +10,10 @@ const GifGridItem = ({url, title}) => {
910
);
1011
}
1112

13+
GifGridItem.propTypes = {
14+
url: PropTypes.string.isRequired,
15+
title: PropTypes.string.isRequired
16+
}
17+
1218
export default GifGridItem;
1319

0 commit comments

Comments
 (0)