Feat/studio extension dropdowns (#379)
This commit is contained in:
parent
8470b67d4b
commit
3d343cc59e
5 changed files with 137 additions and 8 deletions
|
@ -40,6 +40,32 @@ studio.extend({
|
|||
studio.createPane('example')
|
||||
},
|
||||
},
|
||||
{
|
||||
type: 'Downdown',
|
||||
svgSource: '🫠',
|
||||
onChange: (value: any) => {
|
||||
console.log('Change:', value)
|
||||
},
|
||||
selectable: false,
|
||||
options: [
|
||||
{
|
||||
label: 'Option 1',
|
||||
value: 0,
|
||||
},
|
||||
{
|
||||
label: 'Option 2',
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
label: 'Option 3',
|
||||
value: 2,
|
||||
},
|
||||
{
|
||||
label: 'Option 4',
|
||||
value: 3,
|
||||
},
|
||||
],
|
||||
},
|
||||
])
|
||||
|
||||
updateToolset()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue