src/Eventplanner/Selection.js
function normalizeDistance(distance = 0) {
    if (typeof distance !== 'object') distance = { top: distance, left: distance, right: distance, bottom: distance };

    return distance;
}
function normalizeDistance(distance = 0) {
    if (typeof distance !== 'object') distance = { top: distance, left: distance, right: distance, bottom: distance };

    return distance;
}
function normalizeDistance ( distance = 0 ) { if ( typeof distance !== 'object' ) distance = { top : distance , left : distance , right : distance , bottom : distance } ; return distance ; }
Resolve the disance prop from either an Int or an Object
@return {Object}
Resolve the disance prop from either an Int or an Object