Community Extension: #7577
MR5553
started this conversation in
Community Extensions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
import { type MouseEvent } from "react";
import type { Editor } from "@tiptap/react";
import { cn } from "../lib/utils";
import { TextSelection } from "@tiptap/pm/state";
import { Link } from "react-router-dom";
import type { TableOfContentData } from "@tiptap/extension-table-of-contents";
const INDENT = 12;
type TableContentProps = {
Items: TableOfContentData
editor: Editor;
}
export default function TableContent({ Items, editor }: TableContentProps) {
}
Installation
import { type MouseEvent } from "react";
import type { Editor } from "@tiptap/react";
import { cn } from "../lib/utils";
import { TextSelection } from "@tiptap/pm/state";
import { Link } from "react-router-dom";
import type { TableOfContentData } from "@tiptap/extension-table-of-contents";
const INDENT = 12;
type TableContentProps = {
Items: TableOfContentData
editor: Editor;
}
export default function TableContent({ Items, editor }: TableContentProps) {
}
Usage
import { type MouseEvent } from "react";
import type { Editor } from "@tiptap/react";
import { cn } from "../lib/utils";
import { TextSelection } from "@tiptap/pm/state";
import { Link } from "react-router-dom";
import type { TableOfContentData } from "@tiptap/extension-table-of-contents";
const INDENT = 12;
type TableContentProps = {
Items: TableOfContentData
editor: Editor;
}
export default function TableContent({ Items, editor }: TableContentProps) {
}
Type
Node
Other
import { type MouseEvent } from "react";
import type { Editor } from "@tiptap/react";
import { cn } from "../lib/utils";
import { TextSelection } from "@tiptap/pm/state";
import { Link } from "react-router-dom";
import type { TableOfContentData } from "@tiptap/extension-table-of-contents";
const INDENT = 12;
type TableContentProps = {
Items: TableOfContentData
editor: Editor;
}
export default function TableContent({ Items, editor }: TableContentProps) {
}
Beta Was this translation helpful? Give feedback.
All reactions