Handle multiple values and table columns with one Custom filed type

I would not recommend using a component for this kind of usecase. Components do not have API endpoints so it would make interaction with the data needlessly complex when making API calls.

Have you considered using a JSON field inside your content-type to store the information generated from your UI?