From fff5e25cdea81ae2ca58339a2ff878912af2ab8a Mon Sep 17 00:00:00 2001 From: shengzheng Date: Wed, 6 Mar 2024 11:31:12 +0800 Subject: [PATCH] fix: demo import --- src/components/LayerPopup/demos/default.tsx | 3 +-- .../Layers/CompositeLayers/FlowLayer/demos/default.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/LayerPopup/demos/default.tsx b/src/components/LayerPopup/demos/default.tsx index 266c1479..c29879a8 100644 --- a/src/components/LayerPopup/demos/default.tsx +++ b/src/components/LayerPopup/demos/default.tsx @@ -1,9 +1,8 @@ -import type { LineLayerProps, PolygonLayerProps } from '@antv/larkmap'; +import type { LayerPopupProps, LineLayerProps, PolygonLayerProps } from '@antv/larkmap'; import { LarkMap, LayerPopup, LineLayer, PolygonLayer } from '@antv/larkmap'; import type { FeatureCollection } from '@turf/turf'; import { coordAll, featureCollection, lineString } from '@turf/turf'; import React, { useEffect, useState } from 'react'; -import type { LayerPopupProps } from '../types'; const polygonLayerOptions: Omit = { autoFit: true, diff --git a/src/components/Layers/CompositeLayers/FlowLayer/demos/default.tsx b/src/components/Layers/CompositeLayers/FlowLayer/demos/default.tsx index 80d572cf..c07e0947 100644 --- a/src/components/Layers/CompositeLayers/FlowLayer/demos/default.tsx +++ b/src/components/Layers/CompositeLayers/FlowLayer/demos/default.tsx @@ -1,6 +1,6 @@ +import type { FlowLayerProps } from '@antv/larkmap'; import { FlowLayer, LarkMap } from '@antv/larkmap'; import React, { useEffect, useState } from 'react'; -import type { FlowLayerProps } from '../types'; export default () => { const [source, setSource] = useState({