@wix/design-system
Version:
@wix/design-system
28 lines • 956 B
TypeScript
export default ModalPreviewLayout;
/** This is a fullscreen modal to present a document to the user overlaying the entire view port */
declare class ModalPreviewLayout extends React.PureComponent<any, any, any> {
static displayName: string;
static defaultProps: {
shouldCloseOnOverlayClick: boolean;
nextButtonProps: {};
prevButtonProps: {};
startDisplayingAtChildIndex: number;
skin: string;
};
constructor(props: any);
state: {
childIndexDisplayed: any;
};
_shouldClose(id: any): any;
_onRightNavigationClick: () => void;
_onLeftNavigationClick: () => void;
_onOverlayClick(onClose: any): ({ target: { id } }: {
target: {
id: any;
};
}) => void;
_renderNavigationButtons(hasLeft: any, hasRight: any): React.JSX.Element;
render(): React.JSX.Element;
}
import React from 'react';
//# sourceMappingURL=ModalPreviewLayout.d.ts.map