terriajs
Version:
Geospatial data visualization platform.
15 lines (13 loc) • 381 B
JavaScript
import styled from "styled-components";
export const IconWrapper = styled.span `
display: grid;
// ${(props) => `width: ${props.width || 16}px`};
& > * {
margin: auto;
}
${(props) => props.marginRight && `margin-right: 8px;`}
flex-shrink: 0;
${(props) => props.wide && `margin: auto 16px;`}
`;
export default IconWrapper;
//# sourceMappingURL=IconWrapper.js.map