From 5eaded3b319c413474bb74be4ca855523fa6d959 Mon Sep 17 00:00:00 2001 From: Ionatan Wiznia Date: Mon, 8 Aug 2022 13:59:34 +0200 Subject: [PATCH] Add missing proptype I forgot to add --- src/components/menuItemPropTypes.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/menuItemPropTypes.js b/src/components/menuItemPropTypes.js index 0dd6b954aa4..27452b4175e 100644 --- a/src/components/menuItemPropTypes.js +++ b/src/components/menuItemPropTypes.js @@ -66,6 +66,10 @@ const propTypes = { /** A fallback avatar icon to display when there is an error on loading avatar from remote URL. */ fallbackIcon: PropTypes.func, + + /** If we need to show a brick road indicator or not. For now only value allowed is `error`, + * but we will add `success` later for manual requests */ + brickRoadIndicator: PropTypes.oneOf(['error']), }; export default propTypes;