mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-31 17:19:56 +08:00
chore: sort imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React, { forwardRef } from 'react';
|
||||
import { PopperArrowProps } from './interface';
|
||||
import { forwardRef } from 'react';
|
||||
import { styled } from '../styled';
|
||||
import { PopperArrowProps } from './interface';
|
||||
|
||||
export const PopperArrow = forwardRef<HTMLElement, PopperArrowProps>(
|
||||
({ placement }, ref) => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React, {
|
||||
import {
|
||||
useEffect,
|
||||
useImperativeHandle,
|
||||
useMemo,
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export * from './Popper';
|
||||
export * from './interface';
|
||||
export * from './Popper';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { CSSProperties, ReactNode, Ref } from 'react';
|
||||
/* eslint-disable no-restricted-imports */
|
||||
import {
|
||||
type PopperUnstyledProps,
|
||||
type PopperPlacementType,
|
||||
type PopperUnstyledProps,
|
||||
} from '@mui/base/PopperUnstyled';
|
||||
export type VirtualElement = {
|
||||
getBoundingClientRect: () => ClientRect | DOMRect;
|
||||
|
||||
Reference in New Issue
Block a user