triplex icon indicating copy to clipboard operation
triplex copied to clipboard

Create a workflow for creating examples/prefabs of a component when required props are missing

Open itsdouges opened this issue 1 year ago • 0 comments

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:

image

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

itsdouges avatar Dec 11 '24 02:12 itsdouges