code: function getPropsType(component) {
    var propTypes = component.propTypes;
    var props = {};
    Object.keys(propTypes).forEach(function (k) {
      if (k !== '__strict__' && k !== '__subtype__') {
        props[k] = propTypes[k].tcomb;
      }
    });
    if (propTypes.hasOwnProperty('__subtype__')) {
      return t.refinement(t.struct(props), propTypes.__subtype__.predicate);
    }
    return t.struct(props);
  }
docs: (component: ReactComponent) => TcombType