// @flow
import type { SpaceProps } from '../../../mixins/spacing';
import { spacePropTypes } from '../../../mixins/spacing';
import type { TypographyProps } from '../../../mixins/typography';
import { typographyPropTypes } from '../../../mixins/typography';
import type { BrandProps } from '../../../mixins/branding';
import { brandPropTypes } from '../../../mixins/branding';

export type TextProps = SpaceProps &
  TypographyProps &
  BrandProps & {
    fade?: number,
  };

export const textPropTypes = {
  ...spacePropTypes,
  ...typographyPropTypes,
  ...brandPropTypes,
};
