I just want to set the type if it is number, answer, email, decimal. This is not possible dynamically so far.
I believe it is not a good option to put them all inside the component and render conditionally. If there was a dynamic option in the type like there are in other options, it would solve the problem.