@arolariu/components
Version:
A collection of reusable components for React applications, built as ESM & CJS modules with tree shake, minify and bundler optimizations enabled, for the lowest bundle size (import cost)! 😍
13 lines (12 loc) • 330 B
TypeScript
import React from "react";
interface ScratcherProps {
children: React.ReactNode;
width: number;
height: number;
minScratchPercentage?: number;
className?: string;
onComplete?: () => void;
gradientColors?: [string, string, string];
}
export declare const Scratcher: React.FC<ScratcherProps>;
export {};