Skip to content

Commit

Permalink
Figma property name updates (#7)
Browse files Browse the repository at this point in the history
Updating Dismissible, Removable, Has Body prop naming in Code Connect references for Notification, Tag, and Tooltip components.
  • Loading branch information
jake-figma authored Jul 9, 2024
1 parent c635ac1 commit e82b676
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/figma/primitives/Notification.figma.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ figma.connect(Notification, "<FIGMA_NOTIFICATION_NOTIFICATION>", {
true: figma.instance("Icon"),
false: undefined,
}),
isDismissible: figma.boolean("Is Dismissible"),
isDismissible: figma.boolean("Dismissible"),
button: figma.children("Button"),
body: figma.string("Body"),
variant: figma.enum("Variant", {
Expand Down
2 changes: 1 addition & 1 deletion src/figma/primitives/Tag.figma.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {

figma.connect(Tag, "<FIGMA_TAGS_TAG>", {
props: {
onRemove: figma.boolean("Is Removable", {
onRemove: figma.boolean("Removable", {
true: () => {},
false: undefined,
}),
Expand Down
2 changes: 1 addition & 1 deletion src/figma/primitives/Tooltip.figma.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { TextSmall, TextStrong, Tooltip } from "primitives";

figma.connect(Tooltip, "<FIGMA_TOOLTIP_TOOLTIP>", {
props: {
body: figma.boolean("Show Body", {
body: figma.boolean("Has Body", {
true: <TextSmall>{figma.string("Body")}</TextSmall>,
false: undefined,
}),
Expand Down

0 comments on commit e82b676

Please sign in to comment.