refactor(deps): remove react-sizeme
This commit is contained in:
+8
-1
@@ -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
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user