@chayns-components/core
Version:
A set of beautiful React components for developing your own applications with chayns.
30 lines (28 loc) • 660 B
JavaScript
import styled, { css } from 'styled-components';
export const StyledPopup = styled.span`
cursor: pointer;
position: relative;
${({
$shouldUseFullWidth
}) => $shouldUseFullWidth && css`
width: 100%;
`};
${({
$shouldUseChildrenWidth
}) => $shouldUseChildrenWidth && css`
display: flex;
width: fit-content;
height: fit-content;
`}
`;
export const StyledPopupPseudo = styled.div`
top: ${({
$menuHeight
}) => `${$menuHeight - 0}px`};
left: 0;
margin: 2px;
pointer-events: none;
opacity: 0;
position: absolute;
`;
//# sourceMappingURL=Popup.styles.js.map