UNPKG

@arolariu/components

Version:

🎨 70+ beautiful, accessible React components built on Radix UI. TypeScript-first, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡

14 lines • 616 B
import { type HTMLMotionProps, type Transition } from "motion/react"; import * as React from "react"; type FlipDirection = "top" | "bottom" | "left" | "righ"; interface FlipButtonProps extends HTMLMotionProps<"button"> { frontText: string; backText: string; transition?: Transition; frontClassName?: string; backClassName?: string; from?: FlipDirection; } declare const FlipButton: React.ForwardRefExoticComponent<Omit<FlipButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>; export { FlipButton, type FlipButtonProps, type FlipDirection }; //# sourceMappingURL=flip-button.d.ts.map