UNPKG

baseui

Version:

A React Component library implementing the Base design language

23 lines (19 loc) 705 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); 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. */ const STATE_TYPE = exports.STATE_TYPE = { change: 'CHANGE' }; // Note: top and bottom label placements are deprecated from checkbox v2. // Alternatives: Change design to use left or right placement; use checkbox control only and add your own container and label to realize the top/bottom placements const LABEL_PLACEMENT = exports.LABEL_PLACEMENT = Object.freeze({ right: 'right', left: 'left' });