lightswind
Version:
A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.
17 lines (16 loc) • 611 B
TypeScript
interface SlideToConfirmProps {
/** Text to show before sliding */
text?: string;
/** Text to show after confirming */
successText?: string;
/** Async callback fired when slide completes */
onConfirm: () => Promise<void> | void;
/** Width of the component */
width?: number;
/** Height of the component */
height?: number;
/** Additional classes for the container */
className?: string;
}
export declare function SlideToConfirm({ text, successText, onConfirm, width, height, className, }: SlideToConfirmProps): import("react/jsx-runtime").JSX.Element;
export {};