Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Commit

Permalink
New post 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
chicio committed Jan 3, 2025
1 parent e688454 commit cdd6791
Show file tree
Hide file tree
Showing 6 changed files with 590 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 2 additions & 11 deletions src/components/design-system/atoms/overlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ export interface OverlayProps {
onClick: () => void;
}

type Props = TransientProps<OverlayProps, "div">;

const StyledOverlay = styled.div<Props>`
const StyledOverlay = styled.div<TransientProps<OverlayProps, "div">>`
position: fixed;
top: 0;
left: 0;
Expand All @@ -28,12 +26,5 @@ const StyledOverlay = styled.div<Props>`
export const Overlay: FC<OverlayProps> = ({ zIndex, onClick, delay }) => {
useLockBodyScroll();

return (
<StyledOverlay
$zIndex={zIndex}
onClick={onClick}
$delay={delay}
data-test={"ciaone"}
/>
);
return <StyledOverlay $zIndex={zIndex} onClick={onClick} $delay={delay} />;
};
Loading

0 comments on commit cdd6791

Please sign in to comment.