diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-11-06 17:55:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-06 17:55:10 +0000 |
commit | 325bf1988aa350be03fcd4a3cf201931900482b6 (patch) | |
tree | f61ec877b334bd954003018af8716d933bb8834c /src/screens/Settings/components/SettingsList.tsx | |
parent | 324c5a44a56c77d75f60f0d7199a754c690de4f1 (diff) | |
download | voidsky-325bf1988aa350be03fcd4a3cf201931900482b6.tar.zst |
link up verify email dialog (#6042)
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} |