mirror of
https://github.com/prymitive/karma
synced 2026-05-11 03:46:48 +00:00
Merge pull request #1036 from prymitive/fade-empty
chore(ui): fade grid placeholder on first render
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user