ISSUE-017 - Basic animated mounting added.

This commit is contained in:
Kyle Geib committed 2022-01-12 13:07:33 -05:00
1 parent 61b60b9819
commit 1ba5e99532
7 files changed
+85 -13

No files matched your search

@@ -1,4 +1,5 @@
import styled from "styled-components";
import { OverlayPosition } from "../../../types/state";
export type OverlayItemContainerProps = {
@@ -15,11 +16,11 @@ export const OverlayItemContainer = styled.div.attrs<OverlayItemContainerProps>(
display: visible ? undefined : "none",
},
}))<OverlayItemContainerProps>`
position: absolute;
/* Temporary. Overlay will be transparent and based on an image. */
width: 150px;
height: 150px;
background-color: white;
box-shadow: 0px 7px 11px 1px black;
`;
OverlayItemContainer.displayName = "OverlayItemContainer";