@gfazioli/mantine-flip
Version:
Flip component is a wrapper for any component that can be flipped. It is used to create cards, flip boxes and more.
9 lines (8 loc) • 330 B
TypeScript
import React from 'react';
export interface FlipTargetProps {
/** Target element */
children: React.ReactNode;
/** Key of the prop that should be used to get element ref */
refProp?: string;
}
export declare const FlipTarget: React.ForwardRefExoticComponent<FlipTargetProps & React.RefAttributes<HTMLDivElement>>;