File size: 624 Bytes
4304c6d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { memo } from 'react'
import { MiniMap } from 'reactflow'
import ZoomInOut from './zoom-in-out'
import Control from './control'

const Operator = () => {
  return (
    <>

      <MiniMap

        style={{

          width: 102,

          height: 72,

        }}

        className='!absolute !left-4 !bottom-14 z-[9] !m-0 !w-[102px] !h-[72px] !border-[0.5px] !border-black/[0.08] !rounded-lg !shadow-lg'

      />

      <div className='flex items-center mt-1 gap-2 absolute left-4 bottom-4 z-[9]'>

        <ZoomInOut />

        <Control />

      </div>

    </>
  )
}

export default memo(Operator)