shldhee / note

개인노트
0 stars 0 forks source link

real issues #18

Open shldhee opened 2 years ago

shldhee commented 2 years ago

캐러셀 동작 css

image

emotion, styled, css, props

const ArrowButton = styed.button<{ pos : 'left' | 'right' }>`
  ...
  ${({pos}) => pos === 'left' ? css`left: 0` : css`right: 0 `
`