From c9c13de3f05fd09406f27b389f9b15d40a401ecc Mon Sep 17 00:00:00 2001 From: Alberto Date: Tue, 19 Sep 2023 12:29:38 +0800 Subject: [PATCH] remove subtitle style --- src/components/MenuItem.js | 1 - src/components/menuItemPropTypes.js | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/components/MenuItem.js b/src/components/MenuItem.js index 2b75aefeae90..ec2d13ec9ac2 100644 --- a/src/components/MenuItem.js +++ b/src/components/MenuItem.js @@ -56,7 +56,6 @@ const defaultProps = { disabled: false, isSelected: false, subtitle: undefined, - subtitleTextStyle: {}, iconType: CONST.ICON_TYPE_ICON, onPress: () => {}, onSecondaryInteraction: undefined, diff --git a/src/components/menuItemPropTypes.js b/src/components/menuItemPropTypes.js index 17585f5a1d3a..88d592cb83d5 100644 --- a/src/components/menuItemPropTypes.js +++ b/src/components/menuItemPropTypes.js @@ -88,9 +88,6 @@ const propTypes = { /** A right-aligned subtitle for this menu option */ subtitle: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - /** Style for the subtitle */ - subtitleTextStyle: stylePropTypes, - /** Flag to choose between avatar image or an icon */ iconType: PropTypes.oneOf([CONST.ICON_TYPE_AVATAR, CONST.ICON_TYPE_ICON, CONST.ICON_TYPE_WORKSPACE]),