import * as React from 'react' import * as _ from 'lodash' import { ICustomMeetingTypesComponentProps, IMeetingListItemProps } from './interfaces' import IconSVG from 'svg-inline-react' const calendarSrc = require('!svg-inline-loader?removeTags=true&removeSVGTagAttrs=false!../../../img/svg/calendar-check.svg') const drift_logo = require('!svg-inline-loader?removeTags=true&removeSVGTagAttrs=false!../../../img/svg/drift-logo-circle-white.svg') require('./styles.styl') const COLOR_CLASSES = { 15: 'red', 30: 'purple', 45: 'blue', 60: 'green', } const MeetingListItem = ({ data, slug, slugs, onClick }: IMeetingListItemProps) =>