replace-react-color API - v4.1.2
Preparing search index...
SwatchProps
Interface SwatchProps
interface
SwatchProps
{
children
?:
ReactNode
;
color
:
string
;
focus
?:
boolean
;
focusStyle
?:
CSSProperties
;
onClick
?:
(
color
:
string
,
e
:
MouseEvent
<
Element
,
MouseEvent
>
|
KeyboardEvent
<
Element
>
,
)
=>
void
;
onHover
?:
(
color
:
string
,
e
:
MouseEvent
)
=>
void
;
style
?:
CSSProperties
;
title
?:
string
;
}
Index
Properties
children?
color
focus?
focus
Style?
on
Click?
on
Hover?
style?
title?
Properties
Optional
children
children
?:
ReactNode
color
color
:
string
Optional
focus
focus
?:
boolean
Optional
focus
Style
focusStyle
?:
CSSProperties
Optional
on
Click
onClick
?:
(
color
:
string
,
e
:
MouseEvent
<
Element
,
MouseEvent
>
|
KeyboardEvent
<
Element
>
,
)
=>
void
Optional
on
Hover
onHover
?:
(
color
:
string
,
e
:
MouseEvent
)
=>
void
Optional
style
style
?:
CSSProperties
Optional
title
title
?:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
children
color
focus
focus
Style
on
Click
on
Hover
style
title
replace-react-color API - v4.1.2
Loading...