mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-11 06:52:38 +00:00
Merge pull request #1208 from G-Ambatte/addNewToNavBar
Adds a `New` button to the Nav bar
This commit is contained in:
11
client/homebrew/navbar/newbrew.navitem.jsx
Normal file
11
client/homebrew/navbar/newbrew.navitem.jsx
Normal file
@@ -0,0 +1,11 @@
|
||||
const React = require('react');
|
||||
const Nav = require('naturalcrit/nav/nav.jsx');
|
||||
|
||||
module.exports = function(props){
|
||||
return <Nav.item
|
||||
href='/new'
|
||||
color='purple'
|
||||
icon='fa-plus-square'>
|
||||
new
|
||||
</Nav.item>;
|
||||
};
|
||||
@@ -1,5 +1,4 @@
|
||||
const React = require('react');
|
||||
const createClass = require('create-react-class');
|
||||
const Nav = require('naturalcrit/nav/nav.jsx');
|
||||
|
||||
module.exports = function(props){
|
||||
|
||||
Reference in New Issue
Block a user