You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
spa_instat_tv/src/features/Common/Radio/styled.tsx

27 lines
530 B

import styled from 'styled-components/macro'
export const Wrapper = styled.span.attrs(() => ({
role: 'radio',
tabIndex: 0,
}))``
export const Label = styled.label`
display: flex;
align-items: center;
color: ${({ theme: { colors } }) => colors.text};
font-style: normal;
font-weight: bold;
font-size: 18px;
line-height: 21px;
cursor: pointer;
`
export const Input = styled.input.attrs(() => ({
'aria-hidden': true,
tabIndex: -1,
type: 'radio',
}))`
position: absolute;
z-index: -1;
opacity: 0;
`