link up verify email dialog (#6042)

This commit is contained in:
Samuel Newman
2024-11-06 17:55:10 +00:00
committed by GitHub
parent 324c5a44a5
commit 325bf1988a
2 changed files with 43 additions and 32 deletions
@@ -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}