mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
Prop Tables were being key'd by their component's object `name` prop; this means that only the first component, of many components of the same type, would show. Making sure we first check `displayName` for key usage means that components with the same type can all appear in the Prop Tables if their individual `displayName`'s were different. Case: Higher Order Components