Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/bumpy-houses-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@launchpad-ui/icons": patch
---

feat(icons): sync and connect icons with figma library

7 changes: 7 additions & 0 deletions packages/icons/figma/Icon.figma.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2313,3 +2313,10 @@
},
example: () => <Icon name="a-to-b" />,
});

figma.connect(Icon, 'https://figma.com/file/98HKKXL2dTle29ikJ3tzk7/?node-id=24052-34317', {
props: {
name: 'Icon',
},
example: () => <Icon name="Icon" />,

Check failure on line 2321 in packages/icons/figma/Icon.figma.tsx

View workflow job for this annotation

GitHub Actions / Type Check

Type '"Icon"' is not assignable to type '"search" | "bold" | "link" | "info" | "warning" | "code" | "tag" | "data" | "key" | "sort" | "map" | "filter" | "a-to-b" | "abc" | "add" | "add-circle" | "add-circle-outline" | "alert-rhombus" | ... 316 more ... | undefined'.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, yeah icon is not a valid name for an icon. if we want this example we'd need to have name= one of the values on this check failure

});
2 changes: 1 addition & 1 deletion packages/icons/src/img/sprite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading