Skip to content

Commit

Permalink
SelectedItemsPanelItem prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic committed Nov 25, 2024
1 parent 88071ea commit e36a086
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,14 @@ const SelectedItemsPanelItem = ({ item, thumbnailData, name, description }) => {
);
};

SelectedItemsPanelItem.propTypes = {
item: PropTypes.object.isRequired,
thumbnailData: PropTypes.shape({
mimeType: PropTypes.string.isRequired,
resource: PropTypes.string.isRequired,
}).isRequired,
name: PropTypes.string.isRequired,
description: PropTypes.string.isRequired,
};

export default SelectedItemsPanelItem;

0 comments on commit e36a086

Please sign in to comment.