标签: reactjs animation react-native
如何为translateX动画,就像这样,在有限的重复中反应
答案 0 :(得分:0)
您可以使用css和样式组件props
background-image: url(...); background-repeat-y: no-repeat; background-position-x: ${props => props.positionPercentage};