diff options
Diffstat (limited to 'src/screens/Settings/components/SettingsList.tsx')
-rw-r--r-- | src/screens/Settings/components/SettingsList.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/screens/Settings/components/SettingsList.tsx b/src/screens/Settings/components/SettingsList.tsx index 29ae9be6d..07117aef3 100644 --- a/src/screens/Settings/components/SettingsList.tsx +++ b/src/screens/Settings/components/SettingsList.tsx @@ -264,7 +264,13 @@ export function Chevron({color: colorProp}: {color?: string}) { return <ItemIcon icon={ChevronRightIcon} size="md" color={color} /> } -export function BadgeText({children}: {children: React.ReactNode}) { +export function BadgeText({ + children, + style, +}: { + children: React.ReactNode + style?: StyleProp<ViewStyle> +}) { const t = useTheme() return ( <Text @@ -273,6 +279,7 @@ export function BadgeText({children}: {children: React.ReactNode}) { a.text_md, a.text_right, a.leading_snug, + style, ]} numberOfLines={1}> {children} |