View gist:1f7b73a82063e8831bdde5f37f16c57d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function EventTypeIcon(props) { | |
var bgColor = props.color; | |
var textColor = "#fff"; | |
if(props.inverted) { | |
bgColor = "#fff"; | |
textColor = props.color; | |
} | |
return <Icon.Button | |
{...props} |