Skip to content
This repository has been archived by the owner on Nov 26, 2018. It is now read-only.

Added active icon getting-setting #97

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

alexandervanbrakel
Copy link
Contributor

@JBlaak Removed the fallback in the component, because it's already handled by the object.

//Check if we match the active item
if(this.props.item.isActive()) {
if (this.props.item.getActiveIcon()){
var activeIcon = this.props.item.getActiveIcon();
className = className.replace(icon, activeIcon);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waarom hou je icons niet bij icons? Nu hoop je maar dat er geen icon "secondary" heet, anders ben je je auja-border-secondary kwijt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants