UNPKG

falcon-ui

Version:

ui components for falcon

12 lines (9 loc) 342 B
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; }