refactor(deps): remove react-sizeme

This commit is contained in:
moklick
2019-08-19 15:28:51 +02:00
parent aac214ad5b
commit f80c1b01c2
8 changed files with 34094 additions and 39095 deletions
+8 -1
View File
@@ -1 +1,8 @@
export const isFunction = obj => !!(obj && obj.constructor && obj.call && obj.apply);
export const isFunction = obj => !!(obj && obj.constructor && obj.call && obj.apply);
export const getDimensions = (node) => {
return {
width: node.offsetWidth,
height: node.offsetHeight
};
};