style: restrict type import (#1589)

This commit is contained in:
Himself65
2023-03-15 11:58:43 -05:00
committed by GitHub
parent 6ab2f83e13
commit efcf1fcaa0
154 changed files with 332 additions and 307 deletions

View File

@@ -1,7 +1,9 @@
import { Button } from '@affine/component';
import { styled } from '@affine/component';
import { useTranslation } from '@affine/i18n';
import React, { ChangeEvent, useRef } from 'react';
import type { ChangeEvent } from 'react';
import type React from 'react';
import { useRef } from 'react';
export type UploadProps = React.PropsWithChildren<{
uploadType?: string;