baseui
Version:
A React Component library implementing the Base design language
32 lines (29 loc) • 562 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getSharedProps = getSharedProps;
/*
Copyright (c) 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({
colors,
disabled,
isLoading,
isSelected,
kind,
shape,
size
}) {
return {
$colors: colors,
$disabled: disabled,
$isLoading: isLoading,
$isSelected: isSelected,
$kind: kind,
$shape: shape,
$size: size
};
}