Skip to content

Commit cca04d9

Browse files
committed
feat(CC): updated prop mapping
1 parent 62fc964 commit cca04d9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/react-core/codeConnect/components/BackToTop.figma.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ figma.connect(
77
props: {
88
title: figma.string('Text')
99
},
10-
example: ({ title }) => <BackToTop title={title} />
10+
example: (props) => <BackToTop title={props.title} />
1111
}
1212
);

packages/react-core/codeConnect/components/Banner.figma.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ figma.connect(
1919
])
2020
},
2121
example: (props) => {
22-
<Banner className="{props.className}" />;
22+
<Banner className={props.className} />;
2323
}
2424
}
2525
);
@@ -46,7 +46,7 @@ figma.connect(
4646
])
4747
},
4848
example: (props) => {
49-
<Banner className="{props.className}" />;
49+
<Banner className={props.className} />;
5050
}
5151
}
5252
);

packages/react-core/codeConnect/components/Brand.figma.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ figma.connect(
55
Brand,
66
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6%3A-Components-Test?node-id=2104-3644&m=dev',
77
{
8-
example: (props) => <Brand alt="Brand" />
8+
example: () => <Brand alt="Brand" />
99
}
1010
);
1111

0 commit comments

Comments
 (0)