import React from 'react';
import Footer from './footer';
import { REGIONS } from '../../constants';

export default {
  title: 'common/Footer',
  component: Footer,
  argTypes: {
    region: {
      control: {
        type: 'select',
        options: [...Object.values(REGIONS), 'No region'],
      },
    },
  },
  args: {
    overrideUrls: {},
    subscribeUrl: null,
    region: 'No region',
  },
};

export const footer = args => <Footer {...args} />;
