react-three-d
Version:
A versatile React library designed to simplify the process of creating and manipulating 3D shapes using CSS.
13 lines (12 loc) • 613 B
TypeScript
import React from 'react';
export type FlipProps = Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> & {
children: [React.ReactNode, React.ReactNode];
height?: React.CSSProperties['height'];
isFlipped: boolean;
onFlipEnd?: React.TransitionEventHandler<HTMLDivElement>;
perspective?: React.CSSProperties['perspective'];
width?: React.CSSProperties['width'];
};
declare function Flip({ children, height, isFlipped, onFlipEnd, perspective, style, width, ...props }: FlipProps): React.JSX.Element;
declare const _default: React.MemoExoticComponent<typeof Flip>;
export default _default;