@yandex/ui
Version:
Yandex UI components
11 lines (10 loc) • 597 B
JavaScript
import { Registry } from '@bem-react/di';
import { compose } from '@bem-react/core';
import { Popup as PopupTouchPad } from '../../Popup/Popup@touch-pad';
import { withViewDefault } from '../../Popup/_view/Popup_view_default';
import { withTargetAnchor } from '../../Popup/_target/Popup_target_anchor';
import { withNonvisual } from '../../Popup/_nonvisual/Popup_nonvisual';
import { cnMessageBox } from '../MessageBox';
var Popup = compose(withViewDefault, withTargetAnchor, withNonvisual)(PopupTouchPad);
export var registry = new Registry({ id: cnMessageBox() });
registry.set('Popup', Popup);