Skip to content

Commit

Permalink
Added collapsable prop to child components
Browse files Browse the repository at this point in the history
  • Loading branch information
n4kz committed Oct 4, 2019
1 parent ada5750 commit 3718035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export default class Pages extends PureComponent {

return (
<View style={[{ width, height }, pageStyle]}>
{React.cloneElement(page, { index, pages, progress })}
{React.cloneElement(page, { index, pages, progress, collapsable: false })}
</View>
);
}
Expand Down

0 comments on commit 3718035

Please sign in to comment.