fixed example code in README

This commit is contained in:
AT 2022-07-14 23:51:55 +02:00
parent 6a551b47e4
commit f51eb19d0a

View File

@ -13,7 +13,7 @@ The Map Component based on [leaflet](https://leafletjs.com) is the crystalisatio
The map shows places, events and people at their respective position whith nice and informative Popups. Tags, colors and clusters help to retain the overview. The map shows places, events and people at their respective position whith nice and informative Popups. Tags, colors and clusters help to retain the overview.
[Include](/docs/utopia-ui/getting-started) it somewhere in your React Application, pass some data and the required props. Include it somewhere in your React Application, pass some data and the required props.
### Getting Started ### Getting Started
@ -28,7 +28,7 @@ then import in your React App
import UtopiaMap from 'utopia-ui' import UtopiaMap from 'utopia-ui'
``` ```
use the [Map UI Component](/docs/utopia-ui/map-components/map) use the Map UI Component
```jsx ```jsx
<UtopiaMap> <UtopiaMap>
height='360px' height='360px'