Skip to content

Commit 2b26d34

Browse files
committed
Change spinner animation names
1 parent 55f9611 commit 2b26d34

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

react/components/Spinner/index.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Spinner extends React.Component {
2121
width={size}>
2222
<style>
2323
{`
24-
@keyframes rot {
24+
@keyframes vtex-spinner-rotate {
2525
from {
2626
transform-origin: 50% 50%;
2727
transform: rotate(0deg);
@@ -32,7 +32,7 @@ class Spinner extends React.Component {
3232
}
3333
}
3434
35-
@keyframes fill {
35+
@keyframes vtex-spinner-fill {
3636
0% {
3737
stroke-dasharray: 0 0 2 ${circ};
3838
}
@@ -44,14 +44,14 @@ class Spinner extends React.Component {
4444
}
4545
}
4646
47-
.loader {
48-
animation: fill 1.25s infinite cubic-bezier(0.455, 0.030, 0.515, 0.955), rot 0.625s infinite linear;
47+
.vtex-spinner_circle {
48+
animation: vtex-spinner-fill 1.25s infinite cubic-bezier(0.455, 0.030, 0.515, 0.955), vtex-spinner-rotate 0.625s infinite linear;
4949
}
5050
`}
5151
</style>
5252

5353
<circle
54-
className="loader"
54+
className="vtex-spinner_circle"
5555
cx="50"
5656
cy="50"
5757
fill="none"

0 commit comments

Comments
 (0)