Skip to content

Type '{ name: string; areas: string; }' is not assignable to type 'Map' #61

Closed Answered by NishargShah
jasymons asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @jasymons, areas is JSON and you need to copy it from the example.json and paste it there

Sample Codesandbox: https://codesandbox.io/s/spring-monad-vyfltk?file=/src/App.js

Please check the docs: https://img-mapper.github.io/react-docs/?path=/story/examples-simple--simple

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NishargShah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #60 on February 28, 2023 15:20.