import { jsx as _jsx } from "react/jsx-runtime";
import Loader from '../Loader';
export default function Loading(_a) {
    var isLoading = _a.isLoading, children = _a.children, fullSize = _a.fullSize;
    return isLoading ? _jsx(Loader, { fullSize: fullSize }) : children;
}
