v12-ui
Version:
A React component library with a focus on utility-first design and accessibility.
16 lines (15 loc) • 491 B
TypeScript
import { ReactElement } from 'react';
type HexColor = `#${string}`;
interface ParticleCanvasProps {
text: string;
particles?: number;
dotSize?: number;
repulsion?: number;
friction?: number;
returnSpeed?: number;
fontFamily?: string;
fontSize?: number;
textColor?: HexColor;
}
export declare function MagicText({ text, particles, dotSize, repulsion, friction, returnSpeed, fontFamily, fontSize, textColor }: ParticleCanvasProps): ReactElement;
export {};