Skip to content

Commit 88dd012

Browse files
committed
feat(CC-batch-4): review-athon round 3 followup
1 parent 59482e2 commit 88dd012

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ figma.connect(
2222
props: {
2323
// boolean
2424
isExpanded: true,
25-
isSecondary: figma.enum('Background', {
25+
colorVariant: figma.enum('Background', {
2626
Secondary: 'secondary',
2727
Primary: undefined
2828
}),
@@ -49,14 +49,13 @@ figma.connect(
4949
isInline={props.isInline}
5050
isStatic={false}
5151
position={props.position}
52-
colorVariant={props.isSecondary}
5352
onExpand={() => {}}
5453
>
5554
<DrawerContent
5655
panelContent={
57-
<DrawerPanelContent>
56+
<DrawerPanelContent colorVariant={props.colorVariant}>
5857
<DrawerHead>
59-
<span tabIndex={() => {}}>Drawer panel header</span>
58+
<span tabIndex={1}>Drawer panel header</span>
6059
<DrawerActions>
6160
<DrawerCloseButton onClick={() => {}} />
6261
</DrawerActions>

0 commit comments

Comments
 (0)