MediaSFU Shared
Preparing search index...
CustomButton
Interface CustomButton<TIcon, TElement>
interface
CustomButton
<
TIcon
=
unknown
,
TElement
=
unknown
>
{
action
:
()
=>
void
;
show
:
boolean
;
backgroundColor
?:
string
;
disabled
?:
boolean
;
icon
?:
TIcon
;
iconStyle
?:
Record
<
string
,
any
>
;
text
?:
string
;
textStyle
?:
Record
<
string
,
any
>
;
customComponent
?:
TElement
;
}
Type Parameters
TIcon
=
unknown
TElement
=
unknown
Index
Properties
action
show
background
Color?
disabled?
icon?
icon
Style?
text?
text
Style?
custom
Component?
Properties
action
action
:
()
=>
void
show
show
:
boolean
Optional
background
Color
backgroundColor
?:
string
Optional
disabled
disabled
?:
boolean
Optional
icon
icon
?:
TIcon
Optional
icon
Style
iconStyle
?:
Record
<
string
,
any
>
Optional
text
text
?:
string
Optional
text
Style
textStyle
?:
Record
<
string
,
any
>
Optional
custom
Component
customComponent
?:
TElement
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
action
show
background
Color
disabled
icon
icon
Style
text
text
Style
custom
Component
MediaSFU
MediaSFU Shared - v1.0.1
Loading...