UNPKG

627 BTypeScriptView Raw
1import * as React from 'react';
2import Transition from 'react-transition-group/Transition';
3import { TransitionCallbacks } from '@restart/ui/types';
4import { BsPrefixOnlyProps } from './helpers';
5export interface OffcanvasTogglingProps extends TransitionCallbacks, BsPrefixOnlyProps {
6 className?: string;
7 in?: boolean;
8 mountOnEnter?: boolean;
9 unmountOnExit?: boolean;
10 appear?: boolean;
11 timeout?: number;
12 children: React.ReactElement;
13}
14declare const OffcanvasToggling: React.ForwardRefExoticComponent<OffcanvasTogglingProps & React.RefAttributes<Transition<any>>>;
15export default OffcanvasToggling;