how to get css property of div after rendering in react js

JavaScript
console.log(window.getComputedStyle(ReactDOM.findDOMNode(this.refs.container)).getPropertyValue("border-radius"));// border-radius can be replaced with any other style attributes;

Source

Also in JavaScript: