// @flow
import PropTypes from 'prop-types';
import type { Alignment, FontSize } from '../../../mixins/typography';
import type { SpaceProps } from '../../../mixins/spacing';
import { spacePropTypes } from '../../../mixins/spacing';

export type HeadProps = SpaceProps & {
  align?: Alignment,
  fontSize?: FontSize,
};

export const headPropTypes = {
  ...spacePropTypes,
  align: PropTypes.oneOf(['left', 'center', 'right']),
};
