function toSvgSymbol(name, contents) {
  return `<symbol id="${name}" viewBox="${DEFAULT_ATTRS.viewBox}">${contents}</symbol>`;
}
Create an SVG symbol string.
@param {string} name - Icon name
@param {string} contents - SVG contents
@returns {string}