Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
border-bottom: 0.0625em solid #dde3ee;
`;
const StackedCardHead = styled.section`
display: flex;
align-items: center;
justify-content: space-between;
`;
const StackedCardHeading = styled(Typography)`
display: flex;
align-items: center;
margin: 0;
font-weight: bold;
line-height: 1.31;
font-size: ${scale(1)};
`;
StackedCardHeading.defaultProps = {
as: 'header'
};
// Arbitrary positioning of icons to respect AddressBook and AccountList designs
const StackedCardIcons = styled.div`
height: 100%;
display: flex;
justify-content: flex-end;
align-items: center;
> * {
width: 15px;
}
${props =>
return cards;
};
export const screenIsMobileSized = (breakpoint: number): boolean =>
window.matchMedia(`(max-width: ${breakpoint}px)`).matches;
const GroupHeading = styled(Typography)`
display: flex;
align-items: center;
margin: 0;
padding: 0.9375rem;
border-bottom: 0.0625rem solid #dde3ee;
background: ${props => props.theme.tableHeadBackground};
text-transform: uppercase;
font-size: ${scale(2)};
cursor: pointer;
` as StyledHTMLElement;
GroupHeading.defaultProps = {
as: 'section',
role: 'button'
};
const GroupHeadingCaret = styled(Icon)`
margin-left: 0.5em;
${props =>
props.isFlipped &&
`
svg {
transform: rotateX(180deg)
}