import React from 'react';

const PropTypesMap = new Map();
for (let typeName in React.PropTypes) {
  if (!React.PropTypes.hasOwnProperty(typeName)) {
    continue
  }
  const type = React.PropTypes[typeName];
  PropTypesMap.set(type, typeName);
}

const stylesheet = {
  propTable: {
    th: {
      padding: 10
    },
    td: {
      padding: 10 
    }
  }
}

export default class PropTable extends React.Component {
  render () {
    const type = this.props.type;

    if (!type) {
      return null;
    }

    const props = {};