mationsCurrentTimeListener: PropTypes.func.isRequired, animation: PropTypes.object.isRequired, emitEventForTest: PropTypes.func.isRequired, getAnimatedPropertyMap: PropTypes.func.isRequired, getAnimationsCurrentTime: PropTypes.func.isRequired, getComputedStyle: PropTypes.func.isRequired, removeAnimationsCurrentTimeListener: PropTypes.func.isRequired, simulateAnimation: PropTypes.func.isRequired, simulateAnimationForKeyframesProgressBar: PropTypes.func.isRequired, timeScale: PropTypes.object.isRequired, }; } render() { const { addAnimationsCurrentTimeListener, animation, emitEventForTest, getAnimatedPropertyMap, getAnimationsCurrentTime, getComputedStyle, removeAnimationsCurrentTimeListener, simulateAnimation, simulateAnimationForKeyframesProgressBar, timeScale, } = this.props; return dom.div( { className: `animated-property-list-container ${animation.state.type}`, }, ProgressInspectionPanel({ indicator: KeyframesProgressBar({ addAnimationsCurrentTimeListener, animation, getAnimationsCurrentTime, removeAnimationsCurrentTimeListener, simulateAnimationForKeyframesProgressBar, timeScale, }), list: AnimatedPropertyList({ animation, emitEventForTest, getAnimatedPropertyMap, getComputedStyle, simulateAnimation, }), ticks: [0, 50, 100].map(position => { const label = getFormatStr( "detail.propertiesHeader.percentage", position ); return { position, label }; }), }) ); } } module.exports = AnimatedPropertyListContainer; PK