mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-29 08:09:52 +08:00
chore: sort imports
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
import * as React from 'react';
|
||||
import { Utils, SVGContainer } from '@tldraw/core';
|
||||
import { SVGContainer, Utils } from '@tldraw/core';
|
||||
import {
|
||||
RectangleShape,
|
||||
DashStyle,
|
||||
TDShapeType,
|
||||
TDMeta,
|
||||
GHOSTED_OPACITY,
|
||||
LABEL_POINT,
|
||||
RectangleShape,
|
||||
TDMeta,
|
||||
TDShapeType,
|
||||
} from '@toeverything/components/board-types';
|
||||
import { TDShapeUtil } from '../TDShapeUtil';
|
||||
import { styled } from '@toeverything/components/ui';
|
||||
import * as React from 'react';
|
||||
import {
|
||||
defaultStyle,
|
||||
getShapeStyle,
|
||||
getBoundsRectangle,
|
||||
transformRectangle,
|
||||
getFontStyle,
|
||||
getShapeStyle,
|
||||
transformRectangle,
|
||||
transformSingleRectangle,
|
||||
} from '../shared';
|
||||
import { TextLabel } from '../shared/text-label';
|
||||
import { getRectangleIndicatorPathTDSnapshot } from './rectangle-helpers';
|
||||
import { DrawRectangle } from './components/DrawRectangle';
|
||||
import { DashedRectangle } from './components/DashedRectangle';
|
||||
import { TDShapeUtil } from '../TDShapeUtil';
|
||||
import { BindingIndicator } from './components/BindingIndicator';
|
||||
import { styled } from '@toeverything/components/ui';
|
||||
import { DashedRectangle } from './components/DashedRectangle';
|
||||
import { DrawRectangle } from './components/DrawRectangle';
|
||||
import { getRectangleIndicatorPathTDSnapshot } from './rectangle-helpers';
|
||||
|
||||
type T = RectangleShape;
|
||||
type E = HTMLDivElement;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import * as React from 'react';
|
||||
import { BINDING_DISTANCE } from '@toeverything/components/board-types';
|
||||
|
||||
interface BindingIndicatorProps {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import * as React from 'react';
|
||||
import { Utils } from '@tldraw/core';
|
||||
import { BINDING_DISTANCE } from '@toeverything/components/board-types';
|
||||
import type { ShapeStyles } from '@toeverything/components/board-types';
|
||||
import { BINDING_DISTANCE } from '@toeverything/components/board-types';
|
||||
import * as React from 'react';
|
||||
import { getShapeStyle } from '../../shared';
|
||||
|
||||
interface RectangleSvgProps {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { ShapeStyles } from '@toeverything/components/board-types';
|
||||
import * as React from 'react';
|
||||
import { getShapeStyle } from '../../shared';
|
||||
import type { ShapeStyles } from '@toeverything/components/board-types';
|
||||
import {
|
||||
getRectangleIndicatorPathTDSnapshot,
|
||||
getRectanglePath,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Utils } from '@tldraw/core';
|
||||
import Vec from '@tldraw/vec';
|
||||
import getStroke, { getStrokePoints } from 'perfect-freehand';
|
||||
import type { ShapeStyles } from '@toeverything/components/board-types';
|
||||
import getStroke, { getStrokePoints } from 'perfect-freehand';
|
||||
import { getShapeStyle } from '../shared';
|
||||
|
||||
function getRectangleDrawPoints(
|
||||
|
||||
Reference in New Issue
Block a user