Skip to content

Commit e64b934

Browse files
committed
change to X for delete
1 parent 8e7bd4c commit e64b934

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

examples/build.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ Aliases Section (placed after Send In-App Message):
443443
Emails Section:
444444
- Section title: "Emails" with info icon for tooltip
445445
- List showing email addresses
446-
- Each item shows email with delete icon
446+
- Each item shows email with an X icon (remove action)
447447
- "No Emails Added" text when empty
448448
- ADD EMAIL button -> modal with empty email field
449449
- Collapse behavior when >5 items:
@@ -458,7 +458,7 @@ Emails Section:
458458
SMS Section:
459459
- Section title: "SMS" with info icon for tooltip
460460
- List showing phone numbers
461-
- Each item shows phone number with delete icon
461+
- Each item shows phone number with an X icon (remove action)
462462
- "No SMS Added" text when empty
463463
- ADD SMS button -> modal with empty SMS field
464464
- Collapse behavior when >5 items (same as Emails)
@@ -470,7 +470,7 @@ SMS Section:
470470
Tags Section:
471471
- Section title: "Tags" with info icon for tooltip
472472
- List showing key-value pairs
473-
- Each item shows: Key | Value with delete icon
473+
- Each item shows: Key | Value with an X icon (remove action)
474474
- "No Tags Added" text when empty
475475
- ADD button -> PairInputModal with empty Key and Value fields (single add)
476476
- ADD MULTIPLE button -> MultiPairInputModal (dynamic rows)
@@ -496,7 +496,7 @@ Outcome Events Section:
496496
Triggers Section:
497497
- Section title: "Triggers" with info icon for tooltip
498498
- List showing key-value pairs
499-
- Each item shows: Key | Value with delete icon
499+
- Each item shows: Key | Value with an X icon (remove action)
500500
- "No Triggers Added" text when empty
501501
- ADD button -> PairInputModal with empty Key and Value fields (single add)
502502
- ADD MULTIPLE button -> MultiPairInputModal (dynamic rows)
@@ -841,8 +841,8 @@ ActionButton.tsx:
841841
- Full-width buttons with width: '100%'
842842
843843
ListWidgets.tsx:
844-
- PairItem (key-value with optional delete TouchableOpacity)
845-
- SingleItem (single value with delete TouchableOpacity)
844+
- PairItem (key-value with optional X-icon remove TouchableOpacity)
845+
- SingleItem (single value with optional X-icon remove TouchableOpacity)
846846
- EmptyState (centered "No items" Text)
847847
- CollapsibleList (shows 5 items, expandable)
848848
- PairList (simple list of key-value pairs)

examples/demo/src/components/ListWidgets.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function PairItem({ itemKey, itemValue, onDelete, testID }: PairItemProps
1919
<Text style={styles.pairValue} numberOfLines={1}>{itemValue}</Text>
2020
{onDelete && (
2121
<TouchableOpacity onPress={onDelete} hitSlop={{ top: 8, bottom: 8, left: 8, right: 8 }}>
22-
<Icon name="delete" size={18} color={Colors.textSecondary} />
22+
<Icon name="close" size={18} color={Colors.textSecondary} />
2323
</TouchableOpacity>
2424
)}
2525
</View>
@@ -39,7 +39,7 @@ export function SingleItem({ value, onDelete, testID }: SingleItemProps) {
3939
<Text style={styles.singleValue} numberOfLines={1}>{value}</Text>
4040
{onDelete && (
4141
<TouchableOpacity onPress={onDelete} hitSlop={{ top: 8, bottom: 8, left: 8, right: 8 }}>
42-
<Icon name="delete" size={18} color={Colors.textSecondary} />
42+
<Icon name="close" size={18} color={Colors.textSecondary} />
4343
</TouchableOpacity>
4444
)}
4545
</View>

0 commit comments

Comments
 (0)