Teleforge API Reference - v0.1.0
Preparing search index...
ui/src
TgButtonProps
Interface TgButtonProps
interface
TgButtonProps
{
children
:
ReactNode
;
disabled
?:
boolean
;
loading
?:
boolean
;
onClick
?:
()
=>
void
;
size
?:
"sm"
|
"md"
|
"lg"
;
variant
?:
"destructive"
|
"primary"
|
"secondary"
;
}
Index
Properties
children
disabled?
loading?
on
Click?
size?
variant?
Properties
children
children
:
ReactNode
Optional
disabled
disabled
?:
boolean
Optional
loading
loading
?:
boolean
Optional
on
Click
onClick
?:
()
=>
void
Optional
size
size
?:
"sm"
|
"md"
|
"lg"
Optional
variant
variant
?:
"destructive"
|
"primary"
|
"secondary"
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
children
disabled
loading
on
Click
size
variant
Teleforge API Reference - v0.1.0
Loading...