1.2.0 • Published 9 years ago

react-nav v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Getting started

"use strict";

var React = require('react')
	, NavContainer = require('react-nav').component;

var links = {
	"/foo.html": "Foo"
	,	"/bar.html": "Bar"
	, "/fizz.html": "Fizz"
	, "/buzz.js": "Buzz"
};

React.render(
	<NavContainer links={links} position={190} />
	, document.getElementById('anchor')
);

Pass to position the value of pixels the component is rendered from the top of the page.

1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago