diff --git a/ui/src/flux/components/LoaderSkeleton.tsx b/ui/src/flux/components/LoaderSkeleton.tsx index 0cc5b247e1..cd86749ee8 100644 --- a/ui/src/flux/components/LoaderSkeleton.tsx +++ b/ui/src/flux/components/LoaderSkeleton.tsx @@ -1,9 +1,16 @@ -import React, {SFC, MouseEvent} from 'react' +import React, {SFC, MouseEvent, CSSProperties} from 'react' +import _ from 'lodash' const handleClick = (e: MouseEvent): void => { e.stopPropagation() } +const randomSize = (): CSSProperties => { + const width = _.random(60, 200) + + return {width: `${width}px`} +} + const LoaderSkeleton: SFC = () => { return ( <> @@ -13,28 +20,19 @@ const LoaderSkeleton: SFC = () => { >
-
+
-
+
-
+