packages/components/bolt-ul/src/ul.js
function addNestedLevelProps(childNode, level) {
  let currentLevel = level;

  if (childNode.tagName) {
    childNode.level = currentLevel;
  }

  return currentLevel;
}
function addNestedLevelProps(childNode, level) {
  let currentLevel = level;

  if (childNode.tagName) {
    childNode.level = currentLevel;
  }

  return currentLevel;
}
function addNestedLevelProps ( childNode , level ) { let currentLevel = level ; if ( childNode . tagName ) { childNode . level = currentLevel ; } return currentLevel ; }
list-specific helper function to set nested children's `level` prop automatically
list - specific helper function to set nested children s level prop automatically