code: function typesFrom(configParams) {
    configParams = configParams || [];
    const types = {};
    for (let i =0; i < configParams.length; i++) {
      const key = configParams[i];
      types[camelCase(key)] = PropTypes.any;
    }
    return types;
  }
docs: Create a React type definition object. All items are PropTypes.string or [string] or object or [object].
  @param {Array} configParams a list of parameter names
  @returns {Object}
  @private