mirror of
https://github.com/motajs/template.git
synced 2026-10-10 14:47:22 +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:
parent
3f5c323897
commit
24ee08cc2d
@ -1,2 +1,4 @@
|
||||
export * from './types';
|
||||
export * from './save';
|
||||
export * from './statistics';
|
||||
export * from './viewmap';
|
||||
|
||||
@ -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;
|
||||
Loading…
Reference in New Issue
Block a user