Toggle improvements (#17)

* Toggle improvements

* Fix tests
This commit is contained in:
Tom MacWright
2016-05-20 14:08:29 -04:00
parent 847124a40d
commit ffdf4a6123
12 changed files with 87 additions and 107 deletions

View File

@ -1,7 +1,7 @@
import React from 'react';
import PureRenderMixin from 'react-pure-render/mixin';
import NavigationItem from './navigation_item';
import { backLink } from '../../custom';
import { footerContent } from '../custom';
function getAllInSectionFromChild(headings, idx) {
for (var i = idx; i > 0; i--) {
@ -88,7 +88,7 @@ var Navigation = React.createClass({
}
}
})}
<a href='/' className='space-top2 pad1y dark keyline-top block small quiet'>{backLink}</a>
{footerContent}
</div>);
}
});