Skip to content

Commit 2b06ee0

Browse files
committed
style(demo): add icon to Add Row button
1 parent 45c0920 commit 2b06ee0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

examples/demo/src/components/modals/MultiPairInputModal.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ export default function MultiPairInputModal({
122122
</View>
123123
))}
124124
<TouchableOpacity onPress={addRow} style={styles.addRowBtn}>
125-
<Text style={styles.addRowText}>+ Add Row</Text>
125+
<Icon name="add" size={18} color={AppColors.osPrimary} />
126+
<Text style={styles.addRowText}>Add Row</Text>
126127
</TouchableOpacity>
127128
</ScrollView>
128129
<View style={AppDialogStyles.actions}>
@@ -173,7 +174,10 @@ const styles = StyleSheet.create({
173174
},
174175
addRowBtn: {
175176
paddingVertical: 10,
177+
flexDirection: 'row',
176178
alignItems: 'center',
179+
justifyContent: 'center',
180+
gap: 4,
177181
},
178182
addRowText: {
179183
color: AppColors.osPrimary,

0 commit comments

Comments
 (0)