import { ReactElement } from 'react';

import { CommonProps } from '../../types';
import { IconGlyph } from '../Icon/constants';

import { CounterColor } from './constants';

export interface CommonCounterProps extends CommonProps {
  /** Icon that will be shown in left part of counter */
  icon: IconGlyph | ReactElement;
  /** Label of counter */
  label: string;
  /** Number value of counter */
  value: number;
  /** Color of icon box */
  color: CounterColor;
}
