burger-menu
Version:
A modern, flexible menu component that provides navigation for pages and features.
22 lines (21 loc) • 631 B
TypeScript
import { ReactNode } from 'react';
import noop from './utils/noop';
declare type TransitionProps = {
children: ReactNode;
didEnter: (value: any) => void;
didLeave: (value: any) => void;
onRest: (value?: any) => void;
from: Record<string, any>;
enter: Record<string, any>;
leave: Record<string, any>;
};
declare function Transition(props: TransitionProps): JSX.Element | null;
declare namespace Transition {
var defaultProps: {
didEnter: typeof noop;
didLeave: typeof noop;
onRest: typeof noop;
children: null;
};
}
export default Transition;