var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=PreviewContract;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _theme=require("../../theme");var _native=require("@react-navigation/native");var _reactNativePdf=_interopRequireDefault(require("react-native-pdf"));var _MHeader=_interopRequireDefault(require("../../components/MHeader"));var _jsxFileName="/Users/tima/Tima/react-native-timacare/src/screens/eSign/PreviewContract.tsx";function PreviewContract(props){var _props$route;var navigation=(0,_native.useNavigation)();var source=props==null?void 0:(_props$route=props.route)==null?void 0:_props$route.params;return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:17,columnNumber:5}},_react.default.createElement(_MHeader.default,{title:"H\u1EE3p \u0111\u1ED3ng",onBack:function onBack(){navigation.goBack();},__self:this,__source:{fileName:_jsxFileName,lineNumber:18,columnNumber:7}}),_react.default.createElement(_reactNative.SafeAreaView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:24,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{backgroundColor:_theme.color.border},__self:this,__source:{fileName:_jsxFileName,lineNumber:25,columnNumber:9}}),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:26,columnNumber:9}},_react.default.createElement(_reactNativePdf.default,{source:source,onLoadComplete:function onLoadComplete(numberOfPages,filePath){console.log("Number of pages: "+numberOfPages);},onPageChanged:function onPageChanged(page,numberOfPages){console.log("Current page: "+page);},onError:function onError(error){console.log(error);},onPressLink:function onPressLink(uri){console.log("Link pressed: "+uri);},style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:27,columnNumber:11}}))));}
//# sourceMappingURL=PreviewContract.js.map