// @flow

// Flow:

import PropTypes from 'prop-types';

export type StackedVariantKey = 'row' | 'column';

export type JustifyVariantKey = 'start' | 'end' | 'center' | 'space-between';

export type StackedAlignVariantKey = 'start' | 'end' | 'center';

export type StackedProps = {
  stacked?: StackedVariantKey,
  justify?: JustifyVariantKey,
  align?: StackedAlignVariantKey,
};

// PropTypes:

export const stackedPropTypes = {
  stacked: PropTypes.oneOf(['row', 'column']),
  justify: PropTypes.oneOf(['start', 'end', 'center', 'space-between']),
  align: PropTypes.oneOf(['start', 'end', 'center']),
};
