Teleforge API Reference - v0.1.0
Preparing search index...
ui/src
MainButtonProps
Interface MainButtonProps
interface
MainButtonProps
{
className
?:
string
;
destructive
?:
boolean
;
disabled
?:
boolean
;
haptic
?:
"light"
|
"medium"
|
"heavy"
|
"none"
;
loading
?:
boolean
;
onClick
:
()
=>
void
|
Promise
<
void
>
;
progress
?:
number
;
style
?:
CSSProperties
;
text
:
string
;
visible
?:
boolean
;
}
Index
Properties
class
Name?
destructive?
disabled?
haptic?
loading?
on
Click
progress?
style?
text
visible?
Properties
Optional
class
Name
className
?:
string
Optional
destructive
destructive
?:
boolean
Optional
disabled
disabled
?:
boolean
Optional
haptic
haptic
?:
"light"
|
"medium"
|
"heavy"
|
"none"
Optional
loading
loading
?:
boolean
on
Click
onClick
:
()
=>
void
|
Promise
<
void
>
Optional
progress
progress
?:
number
Optional
style
style
?:
CSSProperties
text
text
:
string
Optional
visible
visible
?:
boolean
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
class
Name
destructive
disabled
haptic
loading
on
Click
progress
style
text
visible
Teleforge API Reference - v0.1.0
Loading...