Skip to content

Commit 4ddc316

Browse files
update Button and Link figma files
1 parent 500ec01 commit 4ddc316

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/blade/src/components/Button/Button/Button.figma.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ figma.connect(
4040
XSmall: 'xsmall',
4141
}),
4242
isFullWidth: figma.boolean('isFullWidth'),
43-
iconOnly: figma.boolean('iconOnly'),
4443
},
45-
example: ({ children }) => <Button>{children}</Button>,
44+
example: ({ children, ...props }) => <Button {...props}>{children}</Button>,
4645
},
4746
);

packages/blade/src/components/Link/Link/Link.figma.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ figma.connect(
77
'https://www.figma.com/design/jubmQL9Z8V7881ayUD95ps/Blade-DSL?node-id=59519-143300&m=dev',
88
{
99
props: {
10-
icon: figma.instance('iconLeading'),
10+
//TODO: Figure out how to handle iconPosition
11+
icon: figma.instance('icon'),
1112
children: figma.string('label'),
1213
variant: figma.enum('type', {
1314
Anchor: 'anchor',

0 commit comments

Comments
 (0)