Skip to content

Instantly share code, notes, and snippets.

Avatar

IB isbaek

View GitHub Profile
View gist:1f7b73a82063e8831bdde5f37f16c57d
function EventTypeIcon(props) {
var bgColor = props.color;
var textColor = "#fff";
if(props.inverted) {
bgColor = "#fff";
textColor = props.color;
}
return <Icon.Button
{...props}