From 905dc454f23b41e3dde01a0ade4d5ea2a60eb7ce Mon Sep 17 00:00:00 2001 From: wil Date: Wed, 27 Mar 2024 17:02:52 -0400 Subject: [PATCH] stable build --- app/components/LoadingBar.tsx | 6 +++--- app/routes/ComponentLibrary.tsx | 16 +++++++++++++++- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/app/components/LoadingBar.tsx b/app/components/LoadingBar.tsx index 09993ce0eb..90a112df5c 100644 --- a/app/components/LoadingBar.tsx +++ b/app/components/LoadingBar.tsx @@ -5,17 +5,17 @@ interface LoadingBarProps{ label?: string; progress?: number; variant?: string; - pulsing?: boolean; message?: string; wrapperClassName?: string; + useFakeTimer?: number; } export const LoadingBar = ({ label, - progress = 50, + progress = 0, variant = 'primary', - pulsing = false, message, wrapperClassName : propsWrapperClassName, + useFakeTimer = (1000 * 60) //defaults to 1min }: LoadingBarProps) => { function getVariantClassNames(variant: string) { diff --git a/app/routes/ComponentLibrary.tsx b/app/routes/ComponentLibrary.tsx index 9414bc40ee..acc2188c52 100644 --- a/app/routes/ComponentLibrary.tsx +++ b/app/routes/ComponentLibrary.tsx @@ -3,7 +3,9 @@ import { Button, ButtonLink, H4, - LoadingBar + LoadingBar, + LoadingDotsTyping, + LoadingDotsBricks, } from "~/components"; @@ -41,6 +43,18 @@ export default function ComponentLibrary () { Back to / +
+

Loading Dots

+
+
+ +
+
+ +
+
+
+

Loading Bar