Skip to content

Commit

Permalink
Additional buttonGroupInput example
Browse files Browse the repository at this point in the history
  • Loading branch information
amcclain committed Nov 15, 2024
1 parent 63496f9 commit bc993a1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions client-app/src/desktop/tabs/forms/InputsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,31 @@ const formContents = hoistCmp.factory<InputsPanelModel>(({model}) =>
})
)
}),
row({
field: 'buttonGroupInput',
info: 'outlined, intent:primary',
item: buttonGroupInput({
outlined: true,
intent: 'primary',
items: [
button({
icon: Icon.chartLine(),
text: 'Button 1',
value: 'button1'
}),
button({
icon: Icon.gear(),
text: 'Button 2',
value: 'button2'
}),
button({
icon: Icon.skull(),
text: 'Button 3',
value: 'button3'
})
]
})
}),
row({
field: 'radioInput',
info: 'inline, disabled option',
Expand Down

0 comments on commit bc993a1

Please sign in to comment.