1
0
mirror of synced 2026-04-03 14:38:37 +08:00

chore: import type

This commit is contained in:
roymondchen
2022-07-01 18:55:09 +08:00
committed by jia000
parent de81218dc0
commit a7afe057fb
35 changed files with 38 additions and 36 deletions

View File

@@ -16,9 +16,9 @@
* limitations under the License.
*/
import React, { useRef } from 'react';
import React from 'react';
import { MComponent } from '@tmagic/schema';
import type { MComponent } from '@tmagic/schema';
import useApp from '../useApp';

View File

@@ -18,7 +18,7 @@
import React from 'react';
import { MComponent, MContainer } from '@tmagic/schema';
import type { MComponent, MContainer } from '@tmagic/schema';
import useApp from '../useApp';

View File

@@ -18,7 +18,7 @@
import React from 'react';
import { MComponent } from '@tmagic/schema';
import type { MComponent } from '@tmagic/schema';
import useApp from '../useApp';

View File

@@ -19,7 +19,7 @@
import React, { useContext, useEffect, useState } from 'react';
import Core from '@tmagic/core';
import { MComponent, MNode } from '@tmagic/schema';
import type { MComponent, MNode } from '@tmagic/schema';
import AppContent from '../AppContent';
import useApp from '../useApp';

View File

@@ -18,7 +18,7 @@
import React from 'react';
import { MComponent, MContainer, MPage } from '@tmagic/schema';
import type { MComponent, MContainer, MPage } from '@tmagic/schema';
import useApp from '../useApp';

View File

@@ -19,7 +19,7 @@
import React, { useEffect, useState } from 'react';
import QRCode from 'qrcode';
import { MComponent } from '@tmagic/schema';
import type { MComponent } from '@tmagic/schema';
import useApp from '../useApp';

View File

@@ -18,7 +18,7 @@
import React, { useState } from 'react';
import { MComponent } from '@tmagic/schema';
import type { MComponent } from '@tmagic/schema';
import useApp from '../useApp';

View File

@@ -19,7 +19,7 @@
import { useContext, useEffect, useState } from 'react';
import Core from '@tmagic/core';
import { MComponent } from '@tmagic/schema';
import type { MComponent } from '@tmagic/schema';
import AppContent from './AppContent';