Anchorage API reference
Documentation
GitHub
Preparing search index...
@proofoftech/flowsafe/approval-ui
ButtonProps
Interface ButtonProps
interface
ButtonProps
{
disabled
?:
boolean
;
label
:
string
;
onClick
?:
()
=>
void
;
pressed
?:
boolean
;
type
?:
"button"
|
"submit"
;
variant
?:
ButtonVariant
;
}
Index
Properties
disabled?
label
on
Click?
pressed?
type?
variant?
Properties
Optional
disabled
disabled
?:
boolean
label
label
:
string
Optional
on
Click
onClick
?:
()
=>
void
Optional
pressed
pressed
?:
boolean
Conveys selection to assistive tech for toggle-like buttons.
Optional
type
type
?:
"button"
|
"submit"
Optional
variant
variant
?:
ButtonVariant
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
disabled
label
on
Click
pressed
type
variant
Documentation
GitHub
Anchorage API reference
Loading...
Conveys selection to assistive tech for toggle-like buttons.