mirror of
https://github.com/motajs/template.git
synced 2026-11-01 06:04:30 +08:00
feat(09-01): migrate statistics.tsx and viewmap.tsx to src/ui (D-10)
- Move render/ui/statistics.tsx -> src/ui/statistics.tsx (verbatim copy) - Move render/ui/viewmap.tsx -> src/ui/viewmap.tsx; rewrite ../use -> ../render/use, ../../shared -> ../shared; keep ./statistics - Add export * from './statistics' and './viewmap' to src/ui/index.ts - Delete old render/ui/statistics.tsx and render/ui/viewmap.tsx
This commit is contained in:
1 parent
3f5c323897
commit
24ee08cc2d
3 files changed
+4
-2
No files matched your search
@@ -1,2 +1,4 @@
|
||||
export * from './types';
|
||||
export * from './save';
|
||||
export * from './statistics';
|
||||
export * from './viewmap';
|
||||
File renamed without changes.
+2
-2
@@ -27,7 +27,7 @@ import { FloorSelector } from '@user/client-base';
|
||||
import { clamp, mean } from 'lodash-es';
|
||||
import { StatisticsDataOneFloor } from './statistics';
|
||||
import { Tip, TipExpose } from '@user/client-base';
|
||||
import { useKey } from '../use';
|
||||
import { useKey } from '../render/use';
|
||||
import {
|
||||
ENABLE_RIGHT_STATUS_BAR,
|
||||
FULL_LOC,
|
||||
@@ -39,7 +39,7 @@ import {
|
||||
RIGHT_STATUS_POS,
|
||||
STATUS_BAR_HEIGHT,
|
||||
STATUS_BAR_WIDTH
|
||||
} from '../../shared';
|
||||
} from '../shared';
|
||||
|
||||
export interface ViewMapProps extends IUIDefaultPropsBase, BaseProps {
|
||||
loc: ElementLocator;
|
||||
Reference in new issue
Block a user