111
yhj
5 天以前 986f2bdc1ef38691cee1b70da9277b759d4e3708
1
2
3
4
5
6
7
8
9
10
11
export 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;
}