import React, { useMemo } from 'react' import { Layer } from 'react-konva'; import { ControlPts } from './coordinates'; import ZmColumn from './ZmColumn'; // import { StationItem, GateRuntime } from '../../../models/_/defs'; import { apertureMeter } from '../../../utils/utils'; const ZmColumns: React.FC<{ zmobj: any; runtime: any; pts: ControlPts; selectedId?: string; waterRatio: number; }> = ({ zmobj, runtime, pts, waterRatio }) => { const eqpnoList = useMemo(() => new Array(runtime.length).fill(0).map((o, index) => index), [runtime]); return ( { eqpnoList.map((o, index,arr) => ( ) ) } ) } export default ZmColumns