REFACTOR: badge-title component (PR #14162)

  • uses tagName=""
  • removes user property which is not being used
  • extract utility functions
  • better wording for boolean properties
  • initializes all properties
  • uses @action
  • uses optional chaining
  • other minor changes

GitHub