// @flow
import type { ThemeProps } from '../../../types';
import type { ButtonProps } from './button.proptypes';

export const getHeight = ({ size = 'md' }: ButtonProps) => {
  switch (size) {
    case 'sm':
      return '40px';
    case 'md':
      return '48px';
    default:
      return '48px';
  }
};

export const getBorderRadius = ({ theme }: ThemeProps) =>
  theme.buttonBorderRadius;
