UNPKG

editcrafter

Version:

To use **EditCrafter** with Tailwind CSS, you need to set up Tailwind CSS in your project. Here's a step-by-step guide to help you integrate Tailwind CSS and customize your `tailwind.config.js` file for use with **EditCrafter**.

13 lines (12 loc) 546 B
import { toggleVariants } from '../../../components/ui/toggle'; import { Editor } from '@tiptap/react'; import { VariantProps } from 'class-variance-authority'; import * as React from "react"; type TextStyleAction = "bold" | "italic" | "underline" | "strikethrough" | "code" | "clearFormatting"; interface SectionTwoProps extends VariantProps<typeof toggleVariants> { editor: Editor; activeActions?: TextStyleAction[]; mainActionCount?: number; } export declare const SectionTwo: React.FC<SectionTwoProps>; export default SectionTwo;