import React from 'react' import figma from '@figma/code-connect' import { ToolbarSectionLeft, ToolbarSectionRight } from '../section' import { Toolbar, BaseToolbarContainer } from '.' figma.connect( Toolbar, '?node-id=1539:8959', { variant: { Sections: 'Left and right' }, props: { left: figma.children('Left placeholder'), right: figma.children('Right placeholder'), }, example: ({ left, right }) => ( {left} {right} ), } ) figma.connect( Toolbar, '?node-id=1539:8959', { variant: { Sections: 'Left only' }, props: { left: figma.children('Left placeholder'), }, example: ({ left }) => ( {left} ), } ) figma.connect( BaseToolbarContainer, '?node-id=1539:8959', { variant: { Sections: 'Right only' }, props: { right: figma.children('Right placeholder') }, example: ({ right }) => ( {right} ), } )