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

spinning animations #10

Closed
3 of 4 tasks
tafelito opened this issue May 15, 2019 · 3 comments
Closed
3 of 4 tasks

spinning animations #10

tafelito opened this issue May 15, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@tafelito
Copy link

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version (not sure)
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

Hi, I emailed you a few days ago, not sure if you received my email. I wanted to know if it was possible to add the spinner that is already in reactstrap to the theme? I tried adding them but I guess I’m missing some css

Current Behavior

Spinning is not working

Context

  • Device: any
  • Operating System: any
  • Browser and Version: any
@einazare
Copy link
Contributor

Hello there, @tafelito ,

Thank you for your interest in working with our products.
Please, next time you open an issue on one of our repositories, use our ISSUES_TEMPLATE accordingly. Right now you haven't given me any steps to reproduce your issue.

It seems that the version of Reactstrap that comes with our product does not have Spinner on it.
So, to get it, you need to run in your terminal: npm i -E reactstrap@8.0.0.
And then, create an scss file, import it inside your index.js file and add the following code to it:

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
  100% {
    transform: rotate(360deg);
  }
}

That will do the trick.

All the best,
Manu
ReactJS Developer at Creative-Tim.com (http://creative-tim.com/)

Trying to help the open source community:

If you've liked what you saw, help me with a comment, like, share or subscribe.

@einazare einazare added the enhancement New feature or request label May 16, 2019
@tafelito
Copy link
Author

tafelito commented Jun 4, 2019

@einazare that worked, thanks! how would you add the sizes and the types?

@einazare
Copy link
Contributor

einazare commented Jun 4, 2019

Hello again, @tafelito ,

Not really sure, since the https://reactstrap.github.io/ website is down at the moment.

Best,
Manu

@einazare einazare closed this as completed Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants