feat(refactor): Generalise useSize
hook
#2312
+57
−33
Merged
useSize
hook
#2312