Browse Source

MapComponent: Print button

mantine
popovspiridon99 3 months ago
parent
commit
8438e05301
  1. 8
      client/src/components/map/MapComponent.tsx

8
client/src/components/map/MapComponent.tsx

@ -548,9 +548,17 @@ const MapComponent = ({
clearPrintArea(id)
map?.setTarget(mapElement.current as HTMLDivElement)
}} title="Предпросмотр области">
<Stack>
<div id='print-portal' style={{ width: '640px', height: '320px' }}>
</div>
<Flex gap='sm'>
<Button>
Печать
</Button>
</Flex>
</Stack>
</Modal>
{active &&

Loading…
Cancel
Save