Пример #1
0
 componentDidMount() {
   window.addEventListener('resize', this.onResize);
 }
 return (prop) => {
   if (window.getComputedStyle) {
     return window.getComputedStyle(thumbnailContent, pseudo)[prop];
   }
   return thumbnailContent.currentStyle[prop];
 };