diff --git a/examples/Basic/index.ios.js b/examples/Basic/index.ios.js index 0a1b006..21a9907 100644 --- a/examples/Basic/index.ios.js +++ b/examples/Basic/index.ios.js @@ -20,7 +20,7 @@ class Basic extends Component { constructor() { super() this.state = { - hideBlurs: false, + showBlurs: true, blurBlurType: 'light', blurActiveSegment: 1, vibrancyBlurType: 'dark', @@ -54,11 +54,9 @@ class Basic extends Component { resizeMode='cover' style={styles.img}/> - {(this.state.hideBlurs + {(this.state.showBlurs - ? null - - : + ? + + : null )} this.setState({hideBlurs: value})} - value={this.state.hideBlurs} /> + onValueChange={(value) => this.setState({showBlurs: value})} + value={this.state.showBlurs} />