mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
Merge pull request #204 from liby/feature/remove-react-fc
chore: remove residual `FC` and `FunctionComponent` from components
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { FC, PropsWithChildren } from 'react';
|
||||
import type { PropsWithChildren } from 'react';
|
||||
import { styled } from '@toeverything/components/ui';
|
||||
import type { AsyncBlock } from '../editor';
|
||||
import { PendantPopover } from './pendant-popover';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { FC, useRef } from 'react';
|
||||
import { useRef } from 'react';
|
||||
import { AsyncBlock } from '../../editor';
|
||||
import { PendantHistoryPanel } from '../pendant-history-panel';
|
||||
import {
|
||||
|
||||
@@ -4,7 +4,6 @@ import {
|
||||
SelectOption,
|
||||
SelectOptionId,
|
||||
} from '../recast-block';
|
||||
import { FunctionComponent } from 'react';
|
||||
import { TextFontIcon } from '@toeverything/components/icons';
|
||||
|
||||
export { PropertyType as PendantTypes } from '../recast-block';
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import type { FC } from 'react';
|
||||
import type { AsyncBlock } from '../editor';
|
||||
import { RenderBlock } from './RenderBlock';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user