Shoji API Reference
Guides
Playground
Preparing search index...
core
ButtonSpec
Interface ButtonSpec
interface
ButtonSpec
{
label
:
string
;
icon
?:
string
;
onClick
:
(
event
:
MouseEvent
)
=>
void
;
}
Index
Properties
label
icon?
on
Click
Properties
label
label
:
string
Optional
icon
icon
?:
string
on
Click
onClick
:
(
event
:
MouseEvent
)
=>
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
label
icon
on
Click
Guides
Playground
Shoji API Reference
Loading...