@project44-manifest/react
Version:
Manifest Design System react components
31 lines (26 loc) • 700 B
text/typescript
import { ChevronDown } from '@project44-manifest/react-icons';
import { styled } from '@project44-manifest/react-styles';
export const StyledMenuGroup = styled('div', {
boxSizing: 'border-box',
display: 'flex',
flexDirection: 'column',
width: '100%',
});
export const StyledMenuGroupWrapper = styled('div', {
boxSizing: 'border-box',
display: 'flex',
flexDirection: 'column',
width: '100%',
});
export const StyledIcon = styled(ChevronDown, {
color: '$text-secondary',
transition: 'transform 100ms cubic-bezier(0.4, 0.14, 0.3, 1) 0ms',
variants: {
isExpanded: {
true: {
color: '$text-primary',
transform: 'rotate(180deg)',
},
},
},
});