import { useContext } from 'react';
import { SizeControlContext } from "../SizeControlContext";
export var useSizeControl = function useSizeControl(propValueSize) {
  var _useContext = useContext(SizeControlContext),
    size = _useContext.size;
  return propValueSize != null ? propValueSize : size;
};