"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getSharedProps = getSharedProps;

/*
Copyright (c) 2018 Uber Technologies, Inc.

This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
function getSharedProps(_ref) {
  var kind = _ref.kind,
      size = _ref.size,
      shape = _ref.shape,
      isLoading = _ref.isLoading,
      disabled = _ref.disabled;
  return {
    $size: size,
    $kind: kind,
    $shape: shape,
    $isLoading: isLoading,
    $disabled: disabled
  };
}