baseui
Version:
A React Component library implementing the Base design language
31 lines (27 loc) • 859 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.STYLE_TYPE = exports.STATE_TYPE = exports.LABEL_PLACEMENT = void 0;
/*
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.
*/
/* eslint-disable import/prefer-default-export */
const STATE_TYPE = exports.STATE_TYPE = {
change: 'CHANGE'
};
const STYLE_TYPE = exports.STYLE_TYPE = Object.freeze({
default: 'default',
toggle: 'toggle',
// maintaining key with aliased value to assist in transition to v11 but will be removed soon after release
toggle_round: 'toggle'
});
const LABEL_PLACEMENT = exports.LABEL_PLACEMENT = Object.freeze({
top: 'top',
right: 'right',
bottom: 'bottom',
left: 'left'
});
/* eslint-enable import/prefer-default-export */