Skip to content

Commit 1c06f60

Browse files
authored
feat: Add phone-question-mark icon to IconElement in ui-kit (#37865)
1 parent 17496df commit 1c06f60

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/fuselage-ui-kit/src/stories/payloads/infoCard.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,17 @@ export const infoCardMultipleIcons: readonly UiKit.InfoCardBlock[] = [
5555
{ type: 'plain_text', text: 'Framed icons' },
5656
{ type: 'icon', icon: 'phone-off', variant: 'default', framed: true },
5757
{ type: 'icon', icon: 'clock', variant: 'warning', framed: true },
58+
{ type: 'icon', icon: 'phone-question-mark', variant: 'warning', framed: true },
5859
{ type: 'icon', icon: 'phone-issue', variant: 'danger', framed: true },
5960
],
6061
},
6162
{
62-
background: 'default',
63+
background: 'secondary',
6364
elements: [
6465
{ type: 'plain_text', text: 'Icons' },
6566
{ type: 'icon', icon: 'phone-off', variant: 'default' },
6667
{ type: 'icon', icon: 'clock', variant: 'warning' },
68+
{ type: 'icon', icon: 'phone-question-mark', variant: 'warning' },
6769
{ type: 'icon', icon: 'phone-issue', variant: 'danger' },
6870
{ type: 'icon', icon: 'info', variant: 'secondary' },
6971
],

packages/ui-kit/src/blocks/elements/IconElement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
type AvailableIcons = 'phone-off' | 'phone-issue' | 'clock' | 'arrow-forward' | 'info' /* | 'phone-question-mark' */; // TODO add new icon when available in fuselage
1+
type AvailableIcons = 'phone-off' | 'phone-issue' | 'clock' | 'arrow-forward' | 'info' | 'phone-question-mark';
22

33
export type IconElement = {
44
type: 'icon';

0 commit comments

Comments
 (0)