File tree Expand file tree Collapse file tree
packages/code-connect/components/Drawer Expand file tree Collapse file tree Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments