Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Introduced full space prop for loading view
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzlamateen committed May 29, 2024
1 parent a314b7c commit ccf0915
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/ui/src/primitives/tailwind/LoadingView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const LoadingView = ({
description,
className,
fullScreen,
fullSpace,
containerClassname,
titleClassname,
spinnerOnly
Expand All @@ -41,6 +42,7 @@ const LoadingView = ({
description?: string
className?: string
fullScreen?: boolean
fullSpace?: boolean
containerClassname?: string
titleClassname?: string
spinnerOnly?: boolean
Expand Down Expand Up @@ -73,6 +75,7 @@ const LoadingView = ({
className={twMerge(
'flex flex-col items-center justify-center',
fullScreen && 'h-screen w-screen',
fullSpace && 'h-full w-full',
containerClassname
)}
>
Expand Down

0 comments on commit ccf0915

Please sign in to comment.