Sha256: b1ba9f55c46f0a17525e08e0088d547f7ffb95d7c38fb9b1dba0f580ddfd7be5
Contents?: true
Size: 510 Bytes
Versions: 15
Compression:
Stored size: 510 Bytes
Contents
import React from 'react'; import PropTypes from 'prop-types'; import { Bullseye, Title, EmptyState, EmptyStateIcon, Spinner, } from '@patternfly/react-core'; const Loading = ({ size }) => ( <Bullseye> <EmptyState> <EmptyStateIcon variant="container" component={Spinner} /> <Title size={size}> Loading </Title> </EmptyState> </Bullseye> ); Loading.propTypes = { size: PropTypes.string, }; Loading.defaultProps = { size: 'lg', }; export default Loading;
Version data entries
15 entries across 15 versions & 1 rubygems