generated from UnBArqDsw2021-1/RepositorioTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#5) Adicionando componente de Loading
Co-authored-by: Emily Sousa <diassousa@yahoo.com.br>
- Loading branch information
1 parent
e498eda
commit f7e1cea
Showing
2 changed files
with
18 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from "react"; | ||
|
||
import { LoadingContainer } from "components/Loading/styles"; | ||
|
||
const Loading: React.FC = ({}) => { | ||
return ( | ||
<LoadingContainer> | ||
<h1>loading...</h1> | ||
</LoadingContainer> | ||
); | ||
}; | ||
|
||
export default Loading; |
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,5 @@ | ||
import styled from "styled-components"; | ||
|
||
export const LoadingContainer = styled.div` | ||
text-align: center; | ||
`; |