If the open prop value is true I want to apply a position fix to the body element, how can I achieve that using styled components?
export const Navbar = styled.nav`
box-sizing: border-box;
overflow-y: scroll;
justify-content: center;
background: ${() => "#ffffff"};
height: 100vh;
text-align: left;
padding: 5rem 4rem 2rem;
top: 0;
left: 0;
transition: transform 0.3s ease-in-out;
transform: ${({ open }) => (open ? "translateX(0)" : "translateX(-110%)")};
body {
position: ${({ open }) => (open ? "fixed" : "absolute")};
}