UNPKG

rani-motion

Version:

A simple and powerful React animation library with TypeScript support - animated.div style components with accessibility-first approach

11 lines 418 B
import { CSSProperties, ReactNode } from 'react'; import { ClickPresetType, CustomClickAnimation } from '../../types'; export interface RaniClickProps { children: ReactNode; animation?: ClickPresetType; customAnimation?: CustomClickAnimation; onClick?: (event: React.MouseEvent<HTMLDivElement>) => void; className?: string; style?: CSSProperties; } //# sourceMappingURL=types.d.ts.map