Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes code connect
Browse files Browse the repository at this point in the history
jake-figma committed May 31, 2024
1 parent c78d700 commit 07a22c8
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/Accordion/Accordion.figma.tsx
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ figma.connect(Accordion, "<FIGMA_URL_ACCORDION>", {
figma.connect(AccordionItem, "<FIGMA_URL_ACCORDION_ITEM>", {
props: {
isSelected: figma.enum("State", {
Closed: false,
Closed: undefined,
Open: true,
}),
title: figma.string("Title"),
2 changes: 1 addition & 1 deletion src/ui/Menu/Menu.figma.tsx
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ figma.connect(MenuSection, "<FIGMA_URL_MENU_SECTION>", {
});

figma.connect(MenuHeading, "<FIGMA_URL_MENU_HEADING>", {
props: { heading: figma.string("Heading") },
props: { heading: figma.children("Text Strong") },
example: ({ heading }) => <MenuHeading>{heading}</MenuHeading>,
});

0 comments on commit 07a22c8

Please sign in to comment.