/* Copyright (c) 2018-2020 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. */ // @flow import type {ButtonPropsT} from './types.js'; export function getSharedProps({ disabled, isLoading, isSelected, kind, shape, size, }: ButtonPropsT) { return { $disabled: disabled, $isLoading: isLoading, $isSelected: isSelected, $kind: kind, $shape: shape, $size: size, }; } declare var __DEV__: boolean; declare var __NODE__: boolean; declare var __BROWSER__: boolean;