import * as React from 'react'; import styled from '@emotion/styled'; import LoadingMask from 'app/components/loadingMask'; type Props = { height?: string; } & React.HTMLProps; const LoadingPanel = styled(({height: _height, ...props}: Props) => (
))` flex: 1; flex-shrink: 0; overflow: hidden; height: ${p => p.height}; position: relative; border-color: transparent; margin-bottom: 0; `; LoadingPanel.defaultProps = { height: '200px', }; export default LoadingPanel;