[Feature]: Allow an array of types for type definitions #227
Open
Description
What package(s) should this feature be added to?
design-to-code, design-to-code-react
Summary
The JSON schema allows for an array of defined types, this should look like:
{
"type": ["string", "boolean"]
}
This should ideally involve a select dropdown with the types available, and if data is present should check to see which type it is and map to that type. If not the first type in the array should be selected by default and the default control shown for that type.
Metadata
Assignees
Labels
Projects
Status
Todo