1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-15 13:36:35 +02:00

Loading and errors HOCs

This commit is contained in:
Maciej Lenartowicz
2019-11-07 17:21:14 +00:00
parent 644726a0fc
commit 8b39bf4193
8 changed files with 276 additions and 72 deletions

View File

@ -28,7 +28,7 @@ export function Spinner({
}) {
if (!fullScreen) {
return (
<div className={`spinner-wrapper ${className || ""}`} {...props}>
<div className={`spinner-wrapper ${className || "my-3 text-center"}`} {...props}>
<SpinnerElement>{children}</SpinnerElement>
</div>
);