UNPKG

@0xsequence/connect

Version:
48 lines 1.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getModalPositionCss = void 0; const getModalPositionCss = (position) => { switch (position) { case 'top-right': return { top: '0px', right: '0px' }; case 'top-left': return { top: '0px', left: '0px' }; case 'top-center': return { top: '0px' }; case 'bottom-right': return { bottom: '0px', right: '0px' }; case 'bottom-left': return { bottom: '0px', left: '0px' }; case 'bottom-center': return { bottom: '0px' }; case 'middle-right': return { right: '0px' }; case 'middle-left': return { left: '0px' }; case 'center': default: return {}; } }; exports.getModalPositionCss = getModalPositionCss; //# sourceMappingURL=styling.js.map