Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-figma committed Jun 26, 2024
1 parent 463e933 commit 363c9c6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/figma/compositions/Pages.figma.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,14 @@ figma.connect(Section, "<FIGMA_SECTIONS_PAGE_PRODUCT_RESULTS>", {
padding: figma.enum("Platform", { Desktop: "1600", Mobile: "600" }),
gap: figma.enum("Platform", { Desktop: "1200", Mobile: "600" }),
majorSize: figma.enum("Platform", { Desktop: "major", Mobile: "full" }),
aside: figma.enum("Platform", {
// prettier-ignore
Desktop: <FlexItem size="minor"><Card variant="stroke">{figma.children(["Text", "Tag", "Checkbox Group", "Slider Field"])}</Card></FlexItem>,
Mobile: undefined,
}),
aside: figma.children(["Text", "Tag", "Checkbox Group", "Slider Field"]),
},
example: ({ aside, controls, cards, gap, padding, majorSize }) => (
<Section padding={padding}>
<Flex container wrap type="quarter" gap={gap}>
{aside}
<FlexItem size="minor">
<Card variant="stroke">{aside}</Card>
</FlexItem>
<FlexItem size={majorSize}>
<Flex direction="column" gap={gap} alignSecondary="stretch">
<Flex type="auto" alignPrimary="space-between" wrap gap="600">
Expand Down

0 comments on commit 363c9c6

Please sign in to comment.