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 @@ -10,10 +10,7 @@ figma.connect(
1010 isExpanded : figma . boolean ( 'Show Footer actions' ) ,
1111
1212 // enum
13- isInline : figma . enum ( 'Type' , {
14- Overlay : undefined ,
15- Inline : true
16- } ) ,
13+ isInline : figma . enum ( 'Type' , { Inline : true } ) ,
1714 position : figma . enum ( 'Position' , {
1815 'Left In Main Content Area' : 'start' ,
1916 'Right - Full Page' : undefined ,
@@ -24,7 +21,7 @@ figma.connect(
2421 'Right In Main Content Area' : undefined
2522 } ) ,
2623
27- panelContent : figma . children ( '* ')
24+ panelContent : figma . textContent ( 'Panel header ')
2825 } ,
2926 example : ( props ) => (
3027 // Documentation for Drawer can be found at https://www.patternfly.org/components/drawer
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ figma.connect(
66 'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6--Components-Test?node-id=35627-47890&m=dev' ,
77 {
88 props : {
9- children : figma . children ( '*' )
9+ panelContent : figma . children ( '*' )
1010 } ,
1111 example : ( props ) => (
1212 // Documentation for DrawerContent can be found at https://www.patternfly.org/components/drawer
13- < DrawerContent > { props . children } </ DrawerContent >
13+ < DrawerContent panelContent = { props . panelContent } / >
1414 )
1515 }
1616) ;
You can’t perform that action at this time.
0 commit comments