Skip to content

Commit 69b04c8

Browse files
author
RadAzzouz
committed
Don’t pass any props to ChangePages
1 parent 7c5db10 commit 69b04c8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

samples/Catalog/Catalog.ios.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,7 @@ var examples = [
101101
'Adds a toolbar at the bottom with buttons to the change pages.',
102102
action: component => {
103103
const nextRoute = {
104-
component: ChangePages,
105-
passProps: {
106-
document: 'PDFs/Annual Report.pdf',
107-
configuration: {
108-
useParentNavigationBar: true,
109-
},
110-
style: { flex: 1 },
111-
},
104+
component: ChangePages
112105
}
113106
component.props.navigator.push(nextRoute)
114107
},

0 commit comments

Comments
 (0)