function strNum() {
    return {
      type: [String, Number],
      default: null
    };
  }
/**
   * Generates a prop object with a type of
   * [String, Number]
   */
Generates a prop object with a type of
[String, Number]
Generates a prop object with a type of [ String Number ]
function strNum() {
    return {
      type: [String, Number],
      default: null
    };
  }
function strNum ( ) { return { type : [ String , Number ] , default : null } ; }
Generates a prop object with a type of
 [String, Number]
Generates a prop object with a type of [ String Number ]