Preparing search index...
The search index is not available
web08-booquiz - v1.0.0
web08-booquiz
frontend/src/components/common/CustomAlert
CustomAlertProps
Interface CustomAlertProps
interface
CustomAlertProps
{
alert
:
{
cancelText
?:
string
;
confirmText
?:
string
;
description
?:
string
;
title
:
string
;
type
?:
|
"error"
|
"info"
|
"success"
|
"warning"
;
}
;
className
?:
string
;
onCancel
?:
(
(
)
=>
void
)
;
onConfirm
:
(
(
)
=>
void
)
;
trigger
:
{
disabled
?:
boolean
;
icon
?:
ReactNode
;
size
?:
|
"sm"
|
"lg"
|
"default"
|
"icon"
;
text
:
string
;
variant
?:
|
"link"
|
"default"
|
"destructive"
|
"outline"
|
"secondary"
|
"ghost"
;
}
;
}
Index
Properties
alert
class
Name?
on
Cancel?
on
Confirm
trigger
Properties
alert
alert
:
{
cancelText
?:
string
;
confirmText
?:
string
;
description
?:
string
;
title
:
string
;
type
?:
|
"error"
|
"info"
|
"success"
|
"warning"
;
}
Optional
class
Name
class
Name
?:
string
Optional
on
Cancel
on
Cancel
?:
(
(
)
=>
void
)
on
Confirm
on
Confirm
:
(
(
)
=>
void
)
trigger
trigger
:
{
disabled
?:
boolean
;
icon
?:
ReactNode
;
size
?:
|
"sm"
|
"lg"
|
"default"
|
"icon"
;
text
:
string
;
variant
?:
|
"link"
|
"default"
|
"destructive"
|
"outline"
|
"secondary"
|
"ghost"
;
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
alert
class
Name
on
Cancel
on
Confirm
trigger
web08-booquiz - v1.0.0
Loading...