@material-ui/core
Version:
React components that implement Google's Material Design.
21 lines (17 loc) • 616 B
TypeScript
import * as React from 'react';
import { Omit } from '@material-ui/types';
import { DrawerProps } from '../Drawer';
export interface SwipeableDrawerProps extends Omit<DrawerProps, 'onClose' | 'open'> {
disableBackdropTransition?: boolean;
disableDiscovery?: boolean;
disableSwipeToOpen?: boolean;
hysteresis?: number;
minFlingVelocity?: number;
onClose: React.ReactEventHandler<{}>;
onOpen: React.ReactEventHandler<{}>;
open: boolean;
SwipeAreaProps?: object;
swipeAreaWidth?: number;
}
declare const SwipeableDrawer: React.ComponentType<SwipeableDrawerProps>;
export default SwipeableDrawer;