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.