diff --git a/src/components/Paper.js b/src/components/Paper.js index 485a9eb..4cfc7ac 100644 --- a/src/components/Paper.js +++ b/src/components/Paper.js @@ -48,7 +48,7 @@ class Paper extends Component { render() { const { style, theme, ...restOfProps } = this.props; const flattenedStyles = StyleSheet.flatten(style) || {}; - const { elevation = 2 } = flattenedStyles; + const { elevation } = flattenedStyles; return ( { style={[ styles.paper, { backgroundColor: theme.colors.paper }, - shadow(elevation), + elevation && shadow(elevation), style, ]} />