How to use the navigation-react.RefreshLink function in navigation-react

To help you get started, we’ve selected a few navigation-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github grahammendick / NavigationEdge / NavigationEdgeApi / node / Component.jsx View on Github external
var React = require('react');
var NavigationReact = require('navigation-react');
var NavigationLink = NavigationReact.NavigationLink;
var RefreshLink = NavigationReact.RefreshLink;
var NavigationBackLink = NavigationReact.NavigationBackLink;

exports.Listing = React.createClass({
    render: function() {
        var stateNavigator = this.props.stateNavigator;
        // Renders a list of people from the props.
        var people = this.props.people.map(function (person) {
            return (
                
                    
						
							{person.Name}
github grahammendick / NavigationEdge / NavigationEdgeApi / node / Component.js View on Github external
var React = require('react');
var NavigationReact = require('navigation-react');
var NavigationLink = NavigationReact.NavigationLink;
var RefreshLink = NavigationReact.RefreshLink;
var NavigationBackLink = NavigationReact.NavigationBackLink;

exports.Listing = React.createClass({displayName: "Listing",
    render: function() {
        var stateNavigator = this.props.stateNavigator;
        // Renders a list of people from the props.
        var people = this.props.people.map(function (person) {
            return (
                React.createElement("tr", {key: person.Id}, 
                    React.createElement("td", null, 
						React.createElement(NavigationLink, {
							stateKey: "person", 
							navigationData: {id: person.Id}, 
							stateNavigator: stateNavigator}, 
							person.Name
						)),

navigation-react

React plugin for the Navigation router

Apache-2.0
Latest version published 2 years ago

Package Health Score

55 / 100
Full package analysis