DirectedEdges / specs-plugin

33 stars 0 forks source link

Filter properties specific to nested instance's variant #137

Open nathanacurtis opened 8 months ago

nathanacurtis commented 8 months ago

Problem

When a nested instance is documenting in a comparison (of props, modes), the nested instance will show ALL properties available on the component including those unavailable on that instance (usually because the relevant layer(s) are hidden).

Solution

Filter potential nested instance props shown to only those available on that variant.