packages/bundle/dimensions/index.js
function viewBox(details) {
    svg.viewBox = `${details.x || 0} ${details.y || 0} ${details.width} ${details.height}`;

    fn(null, svg);
  }
function viewBox(details) {
    svg.viewBox = `${details.x || 0} ${details.y || 0} ${details.width} ${details.height}`;

    fn(null, svg);
  }
function viewBox ( details ) { svg . viewBox = ` ${ details . x || 0 } ${ details . y || 0 } ${ details . width } ${ details . height } ` ; fn ( null , svg ) ; }
Compile a viewBox from the given.

@param {Object} details The width/height for the viewBox.
@private
Compile a viewBox from the given .