UNPKG

655 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.getSharedProps = getSharedProps;
7
8/*
9Copyright (c) 2018-2020 Uber Technologies, Inc.
10
11This source code is licensed under the MIT license found in the
12LICENSE file in the root directory of this source tree.
13*/
14function getSharedProps(_ref) {
15 var disabled = _ref.disabled,
16 isLoading = _ref.isLoading,
17 isSelected = _ref.isSelected,
18 kind = _ref.kind,
19 shape = _ref.shape,
20 size = _ref.size;
21 return {
22 $disabled: disabled,
23 $isLoading: isLoading,
24 $isSelected: isSelected,
25 $kind: kind,
26 $shape: shape,
27 $size: size
28 };
29}
\No newline at end of file