Remove svg support in Playground

This commit is contained in:
2024-01-12 18:11:02 +08:00
parent ed4cef1c78
commit dc4e49343b
8 changed files with 33 additions and 47 deletions

View File

@@ -1,9 +1,9 @@
import React, { useRef, useState } from 'react'
import { IFiles, IImportMap } from '@/components/Playground/shared'
import iframeRaw from '@/components/Playground/Output/Preview/iframe.html?raw'
import { useUpdatedEffect } from '@/util/hooks'
import Compiler from '@/components/Playground/compiler'
import '@/components/Playground/Output/Preview/preview.scss'
import { IFiles, IImportMap } from '@/components/Playground/shared'
import Compiler from '@/components/Playground/compiler'
import iframeRaw from '@/components/Playground/Output/Preview/iframe.html?raw'
interface PreviewProps {
iframeKey: string