Skip to content

Commit

Permalink
OV-6: * loaderOverlay component
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiy4 committed Aug 19, 2024
1 parent 4e10c82 commit 580d235
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ import { Fade, Flex } from '@chakra-ui/react';

import { Loader } from '../loader/loader.js';

const LoaderOverlay = (): JSX.Element => {
type Properties = {
isOpen: boolean;
};

const LoaderOverlay = ({ isOpen }: Properties): JSX.Element => {
return (
<Fade in={true}>
<Fade in={isOpen}>
<Flex
width="full"
height="full"
Expand Down

0 comments on commit 580d235

Please sign in to comment.