We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8882d41 commit 120b437Copy full SHA for 120b437
src/trustBadge/Capsule/index.tsx
@@ -1,5 +1,5 @@
1
import React, { type FC, type ReactNode } from 'react';
2
-import { View, StyleSheet } from 'react-native';
+import { View, StyleSheet, Text } from 'react-native';
3
import { useScaled } from '../../hooks/useScaled';
4
5
export const defaultHeight = 32;
@@ -19,6 +19,7 @@ export const Capsule: FC<{ children: ReactNode; height?: number }> = ({
19
})}
20
>
21
{children}
22
+ <Text style={styles.chevron}>›</Text>
23
</View>
24
25
);
@@ -45,4 +46,10 @@ const styles = StyleSheet.create({
45
46
flexDirection: 'row',
47
alignItems: 'center',
48
},
49
+ chevron: {
50
+ color: '#0A3942',
51
+ fontSize: 26,
52
+ marginTop: -4,
53
+ paddingHorizontal: 4,
54
+ },
55
});
0 commit comments