import React from 'react';
import {Loader, Dimmer} from 'semantic-ui-react';

const Loading = ({active}) => (
	<Dimmer active={active} style={{zIndex: '2000'}}>
		<Loader size="large" />
	</Dimmer>
)

export default Loading;