From e36a0861c759d492f5489a4ce1a1c407a3dc4248 Mon Sep 17 00:00:00 2001 From: tischsoic Date: Mon, 25 Nov 2024 09:38:08 +0100 Subject: [PATCH] SelectedItemsPanelItem prop types --- .../selected-items/selected.items.panel.item.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/bundle/ui-dev/src/modules/universal-discovery/components/selected-items/selected.items.panel.item.js b/src/bundle/ui-dev/src/modules/universal-discovery/components/selected-items/selected.items.panel.item.js index 0392b9267f..9264c8ef15 100644 --- a/src/bundle/ui-dev/src/modules/universal-discovery/components/selected-items/selected.items.panel.item.js +++ b/src/bundle/ui-dev/src/modules/universal-discovery/components/selected-items/selected.items.panel.item.js @@ -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;