1
0
mirror of https://github.com/SomboChea/ui synced 2024-09-29 21:07:47 +07:00
verdaccio-ui/src/webui/components/Spinner/index.js

19 lines
346 B
JavaScript
Raw Normal View History

2019-02-03 17:23:33 +07:00
/**
* @prettier
* @flow
*/
import React from 'react';
import type { Node } from 'react';
import { IProps } from './types';
import { Wrapper, Circular } from './styles';
const Spinner = ({ size = 50, centered = false }: IProps): Node => (
<Wrapper centered={centered}>
<Circular size={size} />
</Wrapper>
);
export default Spinner;