1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| "use strict";
|
| Object.defineProperty(exports, "__esModule", {
| value: true
| });
| exports.default = fixOptions;
|
|
| function fixOptions(options) {
| // Fix the margins
| options.marginTop = options.marginTop || options.margin;
| options.marginBottom = options.marginBottom || options.margin;
| options.marginRight = options.marginRight || options.margin;
| options.marginLeft = options.marginLeft || options.margin;
|
| return options;
| }
|
|