import { sizes } from '../../.shared/common';

export const sharedArgs = {
  children: 'Button text',
  className: '',
  type: 'button',
  loading: false,
  loaderRight: false,
  size: sizes.md,
  disabled: false,
  connectedLeft: false,
  connectedRight: false,
  success: false,
  active: false,
};

export const sharedArgTypes = {
  onClick: { action: 'clicked!' },
  size: {
    name: 'Size',
    options: Object.keys(sizes),
    control: { type: 'radio' },
  },
};
