@fesjs/fes-design
Version:
fes-design for PC
18 lines (14 loc) • 590 B
JavaScript
import getPrefixCls from '../_util/getPrefixCls';
const COMPONENT_NAME = 'FTransfer';
const COMPONENT_CLASS = getPrefixCls('transfer');
const COMPONENT_ONE_WAY_CLASS = `${COMPONENT_CLASS}-one-way`;
const COMPONENT_TWO_WAY_CLASS = `${COMPONENT_CLASS}-two-way`;
const TRANSFER_INJECT_KEY = Symbol();
/** 与 less 中的变量对应 */
const TransferStyle = {
PANEL_PADDING: 16,
PANEL_HEADER_HEIGHT: 22,
PANEL_FILTER_HEIGHT: 32,
PANEL_BLOCK_GAP: 16
};
export { COMPONENT_CLASS, COMPONENT_NAME, COMPONENT_ONE_WAY_CLASS, COMPONENT_TWO_WAY_CLASS, TRANSFER_INJECT_KEY, TransferStyle };