ex-navigator icon indicating copy to clipboard operation
ex-navigator copied to clipboard

Create Example using Code from Blog Post

Open cancan101 opened this issue 9 years ago • 1 comments

The blog post does a better job of demonstrating styling aspects of ex-navigator than the examples in the REDAME. I suggest either updating the README or creating a working example using the code in the blog post.

For example:

    renderLeftButton(navigator) {
      return (
        <TouchableOpacity
          touchRetentionOffset={ExNavigator.Styles.barButtonTouchRetentionOffset}
          onPress={() => navigator.parentNavigator.pop()}
          style={ExNavigator.Styles.barLeftButton}>
          <Text style={ExNavigator.Styles.barLeftButtonText}>Done<Text/>
        </TouchableOpacity>
      );

uses a number of styling and offset constants that are not documented in the README.

cancan101 avatar Oct 28 '15 20:10 cancan101

Opened https://github.com/exponentjs/ex-navigator/issues/18 for people interested in contributing.

ide avatar Oct 29 '15 00:10 ide