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