mirror of
https://github.com/SomboChea/ui
synced 2026-01-19 01:25:51 +07:00
initial commit
This commit is contained in:
23
src/components/Loading/index.js
Normal file
23
src/components/Loading/index.js
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* @prettier
|
||||
* @flow
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import type { Node } from 'react';
|
||||
|
||||
import Logo from '../Logo';
|
||||
import Spinner from '../Spinner';
|
||||
|
||||
import { Wrapper, Badge } from './styles';
|
||||
|
||||
const Loading = (): Node => (
|
||||
<Wrapper>
|
||||
<Badge>
|
||||
<Logo md={true} />
|
||||
</Badge>
|
||||
<Spinner />
|
||||
</Wrapper>
|
||||
);
|
||||
|
||||
export default Loading;
|
||||
Reference in New Issue
Block a user