import { Flex, FlexItem, Spinner } from '@wordpress/components';

const SidebarSpinner = (props) => {
    return (
        <Flex
            align="center"
            justify="center"
            style={{ height: "30px"}}
        >
            <FlexItem style={{ display: "flex", alignItems: "center", justifyContent: "center" }}>
                <Spinner/>
            </FlexItem>
        </Flex>
    );
}

export default SidebarSpinner;