UNPKG

handwritten-highlights

Version:

Beautiful & animated text highliter for your Next/React project. Enhance your text with colorful visuals and animations that resembles real writing.

14 lines (13 loc) 635 B
import React from "react"; import { AnimationSpline, CSSColor } from "../index"; interface HighlightMarkerProps { children: React.ReactNode; highlightVariant?: "1" | "2" | "3" | "random"; highlightColor?: CSSColor; animationOffset?: number; animationDirection?: "left" | "right" | "center"; animationDuration?: number; animationEffect?: keyof typeof AnimationSpline; } export declare const HighlightMarker: ({ children, highlightVariant, highlightColor, animationDirection, animationDuration, animationOffset, animationEffect, }: HighlightMarkerProps) => import("react/jsx-runtime").JSX.Element; export {};