fakiolinho/react-loading

how can i display this component inline

khanhlu2013 opened this issue · 1 comments

          <span>
            Some Text Here
            <div style={{ display: "inline" }}>
              <ReactLoading color="#c1c1c1" height={"5%"} width={"5%"} />
            </div>
          </span>

If you do sth like this:

<ReactLoading
  className="preloader"
  color="#c1c1c1"
  height={"5%"}
  width={"5%"}
/>

and in your css:

.preloader {
  display: inline-block;
}

you are good to go i suppose 😃