getTextPropsForControlHeight = height => {
  if (height <= 32) return text['300']
  if (height <= 40) return text['400']
  return text['500']
}
Helper function to be used across multiple  components to preserve
backwards-compat height behavior with the previous Evergreen.
@param {number} height