UNPKG

burger-menu

Version:

A modern, flexible menu component that provides navigation for pages and features.

23 lines (22 loc) 648 B
import { ReactNode } from 'react'; import noop from './utils/noop'; declare type StyleTransitionProps = { children: ReactNode; didEnter: (value: any) => void; didLeave: (value: any) => void; onRest: (value?: any) => void; duration: string; enter: string; leave: string; }; declare function StyleTransition(props: StyleTransitionProps): JSX.Element | null; declare namespace StyleTransition { var defaultProps: { didEnter: typeof noop; didLeave: typeof noop; onRest: typeof noop; duration: string; children: null; }; } export default StyleTransition;