Auth0 Universal Components
GitHub
Auth0
Preparing search index...
core/src
ActionButton
Interface ActionButton<Item>
interface
ActionButton
<
Item
=
void
>
{
className
?:
string
;
disabled
?:
boolean
;
icon
?:
unknown
;
label
:
string
;
onClick
:
Item
extends
void
?
(
event
:
Event
)
=>
void
:
(
data
:
Item
)
=>
boolean
|
void
|
Promise
<
boolean
>
;
size
?:
"default"
|
"xs"
|
"sm"
|
"lg"
|
"icon"
;
type
?:
"button"
|
"submit"
;
variant
?:
"primary"
|
"outline"
|
"ghost"
|
"destructive"
|
"link"
;
}
Type Parameters
Item
=
void
Index
Properties
class
Name?
disabled?
icon?
label
on
Click
size?
type?
variant?
Properties
Optional
class
Name
className
?:
string
Optional
disabled
disabled
?:
boolean
Optional
icon
icon
?:
unknown
label
label
:
string
on
Click
onClick
:
Item
extends
void
?
(
event
:
Event
)
=>
void
:
(
data
:
Item
)
=>
boolean
|
void
|
Promise
<
boolean
>
Optional
size
size
?:
"default"
|
"xs"
|
"sm"
|
"lg"
|
"icon"
Optional
type
type
?:
"button"
|
"submit"
Optional
variant
variant
?:
"primary"
|
"outline"
|
"ghost"
|
"destructive"
|
"link"
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
class
Name
disabled
icon
label
on
Click
size
type
variant
GitHub
Auth0
Auth0 Universal Components
Loading...