-
-
Save christiannwamba/233f52e8cae14082f18a177c15c2ff02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Preloader.js | |
import React, { Component } from 'react'; | |
import styled from 'styled-components'; | |
import { Motion, spring } from 'react-motion'; | |
import './App.css'; | |
const Loader = styled.div` | |
border: 16px solid #f3f3f3; | |
border-radius: 50%; | |
border-top: 16px solid #3498db; | |
margin: 0 auto; | |
width: 180px; | |
height: 180px; | |
transform: rotate(${props => props.transform}deg); | |
} | |
`; | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment