mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
chore: typescript refactor
This commit is contained in:
parent
81aead7611
commit
054f07e0e9
6 changed files with 29 additions and 43 deletions
|
|
@ -2,12 +2,12 @@ import React from "react";
|
|||
import { useEditor, EditorContent } from "@tiptap/react";
|
||||
import StarterKit from "@tiptap/starter-kit";
|
||||
// Custom Extensions
|
||||
import InfoCallout from "../Editor/Extensions/Callout/Info/InfoCallout";
|
||||
import WarningCallout from "../Editor/Extensions/Callout/Warning/WarningCallout";
|
||||
import ImageBlock from "../Editor/Extensions/Image/ImageBlock";
|
||||
import InfoCallout from "@editor/Extensions/Callout/Info/InfoCallout";
|
||||
import WarningCallout from "@editor/Extensions/Callout/Warning/WarningCallout";
|
||||
import ImageBlock from "@editor/Extensions/Image/ImageBlock";
|
||||
import Youtube from "@tiptap/extension-youtube";
|
||||
import { EditorContentWrapper } from "../Editor/Editor";
|
||||
import VideoBlock from "../Editor/Extensions/Video/VideoBlock";
|
||||
import { EditorContentWrapper } from "@editor/Editor";
|
||||
import VideoBlock from "@editor/Extensions/Video/VideoBlock";
|
||||
import { styled } from "styled-components";
|
||||
|
||||
interface Editor {
|
||||
9
front/components/LectureViews/Video/Video.tsx
Normal file
9
front/components/LectureViews/Video/Video.tsx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import React from 'react'
|
||||
|
||||
function Video() {
|
||||
return (
|
||||
<div>Video</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Video
|
||||
|
|
@ -2,7 +2,6 @@ import React, { useState } from "react";
|
|||
import { ArrowLeftIcon, Cross1Icon } from "@radix-ui/react-icons";
|
||||
import Modal from "../Modal";
|
||||
import styled from "styled-components";
|
||||
import dynamic from "next/dynamic";
|
||||
import DynamicCanvaModal from "./NewElementModal/DynamicCanva";
|
||||
import VideoModal from "./NewElementModal/Video";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue