"use strict";exports.__esModule = true;exports.useFileUploaderSize = useFileUploaderSize;var _react = require("react");



function useFileUploaderSize(size, _ref) {var small = _ref.small,medium = _ref.medium,large = _ref.large;
  return (0, _react.useMemo)(function () {
    switch (size) {
      case 'large':
        return large;
      case 'medium':
        return medium;
      case 'small':
        return small;
      default:
        return small;
    }
  }, [size]);
}