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**.

17 lines (16 loc) 615 B
import { toggleVariants } from '../../components/ui/toggle'; import { Editor } from '@tiptap/react'; import { VariantProps } from 'class-variance-authority'; import { FormatAction } from '../types'; import * as React from "react"; interface ToolbarSectionProps extends VariantProps<typeof toggleVariants> { editor: Editor; actions: FormatAction[]; activeActions?: string[]; mainActionCount?: number; dropdownIcon?: React.ReactNode; dropdownTooltip?: string; dropdownClassName?: string; } export declare const ToolbarSection: React.FC<ToolbarSectionProps>; export default ToolbarSection;