// @flow
import PropTypes from 'prop-types';
import type { ContainerProps } from '../../../mixins/container';
import { containerPropTypes } from '../../../mixins/container';

type Color =
  | 'secondary'
  | 'primary'
  | 'success'
  | 'info'
  | 'error'
  | 'greyscale';

export type TagProps = ContainerProps & {
  inverted?: boolean,
  color?: Color,
};

export const tagPropTypes = {
  ...containerPropTypes,
  inverted: PropTypes.bool,
};
