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