mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 07:56:50 +00:00
lots of changes
This commit is contained in:
1 parent
200517940e
commit
f6614e1011
5 files changed
+47
-34
No files matched your search
@@ -25,7 +25,7 @@ const Nav = {
|
||||
</div>;
|
||||
},
|
||||
|
||||
item : ({ icon, href, newTab, onClick, color, children, className, disabled, ...props })=>{
|
||||
item : ({ icon, kbd,href, newTab, onClick, color, children, className, disabled, ...props })=>{
|
||||
const classes = cx('navItem', color, className);
|
||||
if(disabled) {
|
||||
return <button className={classes} disabled>{children}{icon && <i className={icon}></i>}</button>
|
||||
@@ -39,6 +39,7 @@ const Nav = {
|
||||
return <button {...props} className={classes} onClick={onClick} >
|
||||
{children}
|
||||
{icon && <i className={icon}></i>}
|
||||
{kbd && <kbd>{kbd}</kbd>}
|
||||
</button>;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user