// @flow
import type { TestingProps } from '../../../mixins/testing';
import type { SpaceProps } from '../../../mixins/spacing';
import type { LinkProps } from '../../typography/link/link.proptypes';

export type IconType = 'add' | 'small-arrow-right';

export type IconPosition = 'left' | 'right';

export type TextButtonWithIconProps = {|
  ...TestingProps,
  ...LinkProps,
  ...SpaceProps,
  icon: IconType,
  position: IconPosition,
|};
