Update react-motion spring argument signature

This commit is contained in:
Logan Tegman
2016-02-10 09:19:51 -08:00
parent 34ec40d298
commit b715cb4abc

View File

@ -148,7 +148,7 @@ export default contain(
xs={ 8 } xs={ 8 }
xsOffset={ 2 }> xsOffset={ 2 }>
<Row> <Row>
<Motion style={{ x: spring(x, [120, 10]) }}> <Motion style={{ x: spring(x, { stiffness: 120, damping: 10 }) }}>
{ questionElement } { questionElement }
</Motion> </Motion>
<div className='spacer' /> <div className='spacer' />