Skip to content

Commit c22cbda

Browse files
authored
Merge pull request #1771 from Shopify/js-fix-badge
Make badgeValue optional on ActionItem
2 parents 7b5a212 + 0e5dbac commit c22cbda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/ui-extensions/src/surfaces/point-of-sale/components/Actiontem

packages/ui-extensions/src/surfaces/point-of-sale/components/Actiontem/ActionItem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export interface ActionItemProps {
55
subtitle?: string;
66
enabled?: boolean;
77
onPress: () => void;
8-
badgeValue: number;
8+
badgeValue?: number;
99
destructive?: boolean;
1010
}
1111

0 commit comments

Comments
 (0)