import styled, { css } from 'styled-components' import { ArrowBottom } from '@lidofinance/icons' type InjectedProps = { $opened: boolean $disabled: boolean } const commonCSS = css` transform: rotate(${({ $opened }) => ($opened ? 180 : 0)}deg); transition: transform ${({ theme }) => theme.duration.norm} ease; opacity: ${({ $disabled }) => ($disabled ? 0.5 : 1)}; ` export const SelectArrowBigStyle = styled(ArrowBottom)` ${commonCSS} fill: ${({ theme }) => theme.colors.textSecondary}; ` export const SelectArrowSmallStyle = styled.div` ${commonCSS} color: ${({ theme }) => theme.colors.text}; border: 3px solid currentColor; border-bottom-width: 0px; border-left-color: transparent; border-right-color: transparent; `