Open shldhee opened 2 years ago
const ArrowButton = styed.button<{ pos : 'left' | 'right' }>` ... ${({pos}) => pos === 'left' ? css`left: 0` : css`right: 0 ` `
캐러셀 동작 css
emotion, styled, css, props