Skip to content

Commit a366810

Browse files
committed
feat(CC-batch-1): minor formatting updates
1 parent eae1820 commit a366810

4 files changed

Lines changed: 13 additions & 12 deletions

File tree

packages/code-connect/components/AboutModal/AboutModal.figma.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ figma.connect(
66
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6--Components-Test?node-id=2879-13973&t=15CEJpGgVui7qP5Q-11',
77
{
88
props: {
9-
// string
10-
productName: figma.string('Product name'),
11-
12-
trademark: 'Copyright © 2024',
13-
brandImageSrc: 'Brand Image Source',
9+
// static
1410
brandImageAlt: 'Brand Image Alt Text',
11+
brandImageSrc: 'Brand Image Source',
1512
backgroundImageSrc: '/assets/images/background.png',
13+
trademark: 'Copyright © 2024',
14+
15+
// string
16+
productName: figma.string('Product name'),
1617

1718
// children
1819
children: figma.children('*')

packages/code-connect/components/Accordion/AccordionToggle.figma.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ figma.connect(
1010
expandText: figma.string('Expand Text'),
1111

1212
// enum
13+
isExpanded: figma.enum('State', { Expanded: true }),
1314
toggleTextExpanded: figma.enum('State', {
1415
Default: figma.string('Toggle Text'),
1516
Hover: figma.string('Toggle Text'),
1617
Expanded: figma.string('Toggle Text Expanded')
1718
}),
18-
isExpanded: figma.enum('State', { Expanded: true }),
1919

2020
children: figma.children('*')
2121
},

packages/code-connect/components/ActionList/ActionList.figma.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import figma from '@figma/code-connect';
22
import { ActionList } from '@patternfly/react-core';
33

4+
// TODO: FIGMA: Add ActionListGroup component
5+
46
figma.connect(
57
ActionList,
68
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6--Components-Test?node-id=6780-15839&m=dev',

packages/code-connect/components/BackgroundImage/BackgroundImage.figma.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@ import { BackgroundImage } from '@patternfly/react-core';
33

44
figma.connect(
55
BackgroundImage,
6-
'https://www.figma.com/file/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6%3A-Components-Test?node-id=5047-695',
6+
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6--Components-Test?node-id=2722-13543',
77
{
8-
props: {
9-
src: figma.string('Background Image Source')
10-
},
11-
example: (props) => (
8+
props: {},
9+
example: () => (
1210
// Documentation for BackgroundImage can be found at https://www.patternfly.org/components/background-image
13-
<BackgroundImage src={props.src} />
11+
<BackgroundImage src="/assets/images/pf-background.svg" />
1412
)
1513
}
1614
);

0 commit comments

Comments
 (0)