function camelcase(flag) {
  return flag.split('-').reduce((str, word) => {
    return str + word[0].toUpperCase() + word.slice(1);
  });
}
Pad `str` to `width`.

@param {string} str
@param {number} width
@return {string}
@api private