'Storybook control returns a different propType
I have a prop called displayMap which is supposed to be an object of class Map. I followed this answer to declare the propType of displayMap.
The controls in Storybook show that the displayMap is actually an object and whenever I click the SET OBJECT button, I get this error:
Invalid prop
displayMapof typeObjectsupplied tocomponent-name, expected instance ofMap.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
