title: Auto generator of PropTypes.shape from an object (similar to createGraphqlQuery)
body: <p>I need to define the structure of data for two reasons. One for PropTypes, and another for GraphQL query. So I create an object like this:</p>
  
  <pre><code>const SHAPE = {
      id: 'string.isRequired',
      name: 'string.isRequired',
      address: 'string.isRequired',
      creator: {
          displayname: 'string.isRequired',
          id: 'string.isRequired'
      }
  }
  </code></pre>
  
  <p>I wrote a function to create a graphql query from this, but then I found graphql generators for me! I tried to do the same for React PropTypes, does anyone know of one?</p>
  
  <p>It should convert the above to:</p>
  
  <pre><code>PropTypes.shape({
      id: PropTypes.string.isRequired,
      name: PropTypes.string.isRequired,
      address: PropTypes.string.isRequired,
      creator: PropTypes.shape({
          displayname: PropTypes.string.isRequired,
          id: PropTypes.string.isRequired
      })
  })
  </code></pre>
  
  <p>I just thought I might ask before I crash for the night. I wasted time doing the graphql one >_&lt; haha</p>