Browse
For agents
About
Block Animations, Motion & Scroll Effects – Ghost Kit
/
3.3.2
Block Animations, Motion & Scroll Effects – Ghost Kit
v3.3.2
Switch version
3.7.2
3.7.1
3.7.0
3.6.1
trunk
1.6.3
2.25.0
3.3.0
3.3.1
3.3.2
3.3.3
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.5.0
3.5.1
3.6.0
Overview
Code
ghostkit
/
gutenberg
/
components
/
color-indicator
/
index.js
index.js
in Block Animations, Motion & Scroll Effects – Ghost Kit 3.3.2, at gutenberg/components/color-indicator/index.js
20 lines
367 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
import
classnames
from
'
classnames/dedupe
'
;
2
3
import
{
ColorIndicator
as
WPColorIndicator
}
from
'
@wordpress/components
'
;
4
5
/**
6
* Component Class
7
*
8
*
@
param
props
9
*/
10
export
default
function
ColorIndicator
(
props
)
{
11
const
{
className
}
=
props
;
12
13
return
(
14
<
WPColorIndicator
15
{
...
props
}
16
className
=
{
classnames
(
'
ghostkit-color-indicator
'
,
className
)
}
17
/>
18
)
;
19
}
20