1
This commit is contained in:
@@ -0,0 +1,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;
|
||||
}
|
||||
Reference in New Issue
Block a user