# Input Types from React Prop Types

**URL:** <https://forum.builder.io/t/input-types-from-react-prop-types/1505>\
**Category:** General\
**Tags:** api, react\
**Created:** [December 23, 2021, 8:57am UTC](https://forum.builder.io/t/input-types-from-react-prop-types/1505 "2021-12-23T08:57:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cliff](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@cliff](https://forum.builder.io/u/cliff)\
**Post date:** [December 23, 2021, 8:57am UTC](https://forum.builder.io/t/input-types-from-react-prop-types/1505/1 "2021-12-23T08:57:03Z")

</div>

**What are you trying to accomplish**  
I have tons of existing React Components in my company’s components library.  
I would love to have a script that takes a component with **propTypes** and **defaultProps** , and converts it to the inputs of the **registerComponent** method, so I can automatically register new components as they come.  
Is there something that exists that does that?

**Code stack you are integrating Builder with**  
React

---

<div class="post-metadata">

**Author:** ![TimG](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/timg/32/714_2.png) [@TimG](https://forum.builder.io/u/TimG)\
**Post date:** [December 23, 2021, 5:44pm UTC](https://forum.builder.io/t/input-types-from-react-prop-types/1505/2 "2021-12-23T17:44:09Z")

</div>

@cliff That is a great suggestion! Unfortunately we don’t have anything like that at this time.

But there are a few options to help facilitate making this idea a reality 🙂 First, feel free to submit as a [feature request](https://forum.builder.io/t/have-a-feature-request-or-idea-submit-it-to-builder-at-ideas-builder-io/1471) on our site [ideas.builder.io](http://ideas.builder.io). Here users can submit feature requests or give feedback, as well as vote on the submissions of other users.

Finally, I would call out that our [builder project in Github](https://github.com/BuilderIO/builder/tree/main/packages/react) is totally open source so if you do want to write something yourself, feel free to submit to our GitHub repo and we may just add it to the project!

Hopefully that helps, if you do manage to write something up even just for your internal use let us know we’d love to hear about it!
