import React from 'react';
import { Box, Loader } from '@wix/design-system';
export function InitialLoader(props) {
    const { dataHook, size, state, minHeight = '300px', ...rest } = props;
    return (React.createElement(Box, { backgroundColor: "D80", align: "center", verticalAlign: "middle", borderRadius: "8px", minHeight: minHeight, height: state.internalScroll ? '100%' : undefined, ...rest },
        React.createElement(Loader, { dataHook: dataHook, size: size })));
}
//# sourceMappingURL=InitialLoader.js.map