triplex
triplex copied to clipboard
Create a workflow for creating examples/prefabs of a component when required props are missing
When opening a component that has missing required props, and if they can't be auto-inferred by #33, then they're left with a manual step needing to create a component and declare the required props.
We already notify users when a required prop is missing:
We can streamline this by:
- informing them of the missing complex prop
- creating a component for them so they don't have to
- building a prefab/example system around this so when changing a components props in component controls you can "persist" it to an example
- be able to switch between persisted examples in component controls via some file system convention