Merge pull request #1036 from prymitive/fade-empty

chore(ui): fade grid placeholder on first render
This commit is contained in:
Łukasz Mierzwa
2019-10-14 22:14:59 +01:00
committed by GitHub

View File

@@ -3,11 +3,15 @@ import React from "react";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faMugHot } from "@fortawesome/free-solid-svg-icons/faMugHot";
import { MountFade } from "Components/Animations/MountFade";
import "./index.scss";
const EmptyGrid = () => (
<h1 className="display-1 text-secondary screen-center">
<FontAwesomeIcon icon={faMugHot} style={{ fontSize: "14rem" }} />
<MountFade in={true}>
<FontAwesomeIcon icon={faMugHot} style={{ fontSize: "14rem" }} />
</MountFade>
</h1>
);