Skip to content

Commit 120b437

Browse files
feat: add chevron to the TrustBadge (#23)
RIS-751
1 parent 8882d41 commit 120b437

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/trustBadge/Capsule/index.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { type FC, type ReactNode } from 'react';
2-
import { View, StyleSheet } from 'react-native';
2+
import { View, StyleSheet, Text } from 'react-native';
33
import { useScaled } from '../../hooks/useScaled';
44

55
export const defaultHeight = 32;
@@ -19,6 +19,7 @@ export const Capsule: FC<{ children: ReactNode; height?: number }> = ({
1919
})}
2020
>
2121
{children}
22+
<Text style={styles.chevron}></Text>
2223
</View>
2324
</View>
2425
);
@@ -45,4 +46,10 @@ const styles = StyleSheet.create({
4546
flexDirection: 'row',
4647
alignItems: 'center',
4748
},
49+
chevron: {
50+
color: '#0A3942',
51+
fontSize: 26,
52+
marginTop: -4,
53+
paddingHorizontal: 4,
54+
},
4855
});

0 commit comments

Comments
 (0)