To support older browsconst divStyle = { WebkitTransition: 'all', // note the capital 'W' here msTransition: 'all' // 'ms' is the only lowercase vendor prefix};function ComponentWithTransition() { return
This should work cross-browser
;}ers, you need to supply corresponding style properties: