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