Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to animate a simple loader component #82

Open
Mayank-savaliya opened this issue Feb 18, 2022 · 0 comments
Open

Trying to animate a simple loader component #82

Mayank-savaliya opened this issue Feb 18, 2022 · 0 comments

Comments

@Mayank-savaliya
Copy link

let defaultStyle = {
suggestions: {
marginTop: "10px",
loadingIndicator: {
spinner:{
element: {
height: 100,
width: 100,
background: "black",
animationName: "$element",
animationCount: "infinite",
animationDuration: "2s",
"@Keyframes element":{
"0%":{
opacity: 0
},
"100%":{
opacity: 1
}
}
},
element1: {
},
element2: {

        },
        element3: {
        },
        element4: {},
        element5: {}
    }
}

},
}

Trying to make a loader component with animation. Not sure how to get it done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant