import React from 'react'

import { SegmentEventType } from '../../types/event'

import { IconImg } from './style'


export type EventIconProps = {
  type: SegmentEventType
  size?: 'sm'
  decoration?: 'error'
}

export const EventIcon = ({ type, size }: EventIconProps) => <IconImg size={size} eventType={type} />
