Expose 'hideShadow' option in react naviation bindings (#192)

This commit is contained in:
Krzysztof Magiera
2019-10-22 23:57:39 +02:00
committed by GitHub
parent adf3333462
commit 7c304a007f

View File

@@ -46,6 +46,7 @@ class StackView extends React.Component {
largeTitle,
headerLargeTitleStyle,
translucent,
hideShadow,
} = options;
const scene = {
@@ -72,6 +73,7 @@ class StackView extends React.Component {
headerLargeTitleStyle && headerLargeTitleStyle.fontFamily,
largeTitleFontSize:
headerLargeTitleStyle && headerLargeTitleStyle.fontSize,
hideShadow,
};
const hasHeader = headerMode !== 'none' && options.header !== null;