-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from Sokilskill/welcome_input
loader
- Loading branch information
Showing
11 changed files
with
69 additions
and
56 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,19 @@ | ||
|
||
import { RotatingLines } from 'react-loader-spinner'; | ||
import '../../index.css' | ||
import '../../index.css'; | ||
import { Container, Loader } from './DiaryLoader.styled'; | ||
|
||
const MyLoader = ({ display }) => ( | ||
<div | ||
style={{ | ||
display: display, | ||
justifyContent: 'center', | ||
width: '100%', | ||
}} | ||
> | ||
<RotatingLines | ||
strokeColor= {`var(--white)`} | ||
strokeWidth="5" | ||
animationDuration="0.75" | ||
width="20%" | ||
visible={true} | ||
/> | ||
</div> | ||
const MyLoader = () => ( | ||
<Container> | ||
<Loader> | ||
<RotatingLines | ||
// strokeColor={`var(--white)`} | ||
strokeWidth="5" | ||
animationDuration="0.75" | ||
width="20%" | ||
visible={true} | ||
/> | ||
</Loader> | ||
</Container> | ||
); | ||
|
||
export default MyLoader; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const Container = styled.div` | ||
position: absolute; | ||
top: 35%; | ||
display: flex; | ||
justify-content: center; | ||
width: 100%; | ||
`; | ||
export const Loader = styled.div` | ||
display: flex; | ||
width: 100%; | ||
justify-content: center; | ||
`; |
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
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
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
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
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
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
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
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