1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-28 22:15:32 +07:00
verdaccio-ui/src/webui/components/Spinner/index.js
2019-04-04 21:23:40 +02:00

19 lines
346 B
JavaScript

/**
* @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;