From 78660cd3746a6d91acce1e6a08fcdc49b781b112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sun, 12 May 2019 11:09:34 +0100 Subject: [PATCH] feat(ui): animate alert counter on changes --- ui/src/Components/NavBar/index.js | 8 +++++++- ui/src/Components/NavBar/index.test.js | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ui/src/Components/NavBar/index.js b/ui/src/Components/NavBar/index.js index 553a60249..cd918c293 100644 --- a/ui/src/Components/NavBar/index.js +++ b/ui/src/Components/NavBar/index.js @@ -8,6 +8,8 @@ import ReactResizeDetector from "react-resize-detector"; import IdleTimer from "react-idle-timer"; +import Flash from "react-reveal/Flash"; + import { AlertStore } from "Stores/AlertStore"; import { Settings } from "Stores/Settings"; import { SilenceFormStore } from "Stores/SilenceFormStore"; @@ -122,7 +124,11 @@ const NavBar = observer(