message: fix(useAdaptivity): update to pick props
  useAdaptivity() is now able to take in sizeX and sizeY
  this can be useful for e2e tests
diff: @@ -2,6 +2,23 @@ import { useContext } from 'react';
  import { AdaptivityContext } from '../components/AdaptivityProvider/AdaptivityContext';
  import { AdaptivityProps } from '../hoc/withAdaptivity';
  -export const useAdaptivity = (): AdaptivityProps => {
  - return useContext(AdaptivityContext);
  +export const useAdaptivity = (props?: { [key: string]: any }): AdaptivityProps => {
  + const contextAdaptivityProps = useContext(AdaptivityContext);
  +
  + if (props?.sizeX || props?.sizeY) {
  + const {
  + sizeX = contextAdaptivityProps.sizeX,
  + sizeY = contextAdaptivityProps.sizeY,
  + } = props;
  +
  + return Object.assign(
  + {},
  + contextAdaptivityProps,
  + {
  + sizeX,
  + sizeY,
  + });
  + }
  +
  + return contextAdaptivityProps;
  };
  