V
Size: a a a
V
PK
V
const SliderButtonStyled = styled.button`
position: absolute;
top: 50%;
left: 10%;
${props => props.forward ?
css`
left:10%
`: css`right:10%`
}
border: none;
transition: all ease 0.2s;
padding: 0;
width: 36px;
height: 36px;
border-radius: 50%;
opacity: 0.8;
z-index: 6
// some code
V
PK
V
${props => css`${props.forward ?
'left:10%'
:'right:10%'
`}
V
V
PK
V
V
PK
J
VP
VP
PD
SP
Ю