@chayns-components/person-finder
Version:
A set of beautiful React components for developing your own applications with chayns.
26 lines (21 loc) • 529 B
JavaScript
import styled, { css } from 'styled-components';
export const StyledPersonFinderSmallItem = styled.div`
cursor: pointer;
transition: background-color 0.2s;
padding: 6px;
&:hover {
background-color: ${({
theme
}) => theme['102']};
}
${({
$isSelected,
theme
}) => $isSelected && css`
background-color: ${theme['102']};
&:hover {
background-color: ${theme['102']};
}
`}
`;
//# sourceMappingURL=PersonFinderSmallItem.styles.js.map