opensource-ui
Version:
A modern React UI component library with beautiful text effects and spotlight animations
24 lines • 677 B
TypeScript
import React from "react";
/**
* Props interface for the Glyph component
*/
interface GlyphProps {
char: string;
index: number;
fontSize?: number;
strokeWidth?: number;
fontColor?: string;
fontFamily?: string;
fontWeight?: string | number;
padding?: number;
className?: string;
style?: React.CSSProperties;
}
/**
* Individual glyph component that renders a single character with SVG
* Handles character measurement, positioning, and stroke effects
* Optimized with React.memo to prevent unnecessary re-renders
*/
declare const Glyph: React.NamedExoticComponent<GlyphProps>;
export default Glyph;
//# sourceMappingURL=Glyph.d.ts.map