import { createListing } from '../../util/test-data';
import EditListingWizard from './EditListingWizard';

const noop = () => null;

export const NoPhotos = {
  component: EditListingWizard,
  props: {
    params: {
      id: 'some-id',
      slug: 'some-slug',
      type: 'edit',
      tab: 'pricing',
    },
    fetchInProgress: false,
    newListingCreated: false,
    history: { push: noop },
    images: [],
    listing: createListing('listing1'),
    stripeConnected: true,
    onImageUpload: noop,
    onUpdateImageOrder: noop,
    onRemoveImage: noop,
    onUpdateListing: noop,
    onCreateListing: noop,
    onCreateListingDraft: noop,
    onPayoutDetailsFormChange: noop,
    onPayoutDetailsSubmit: noop,
    onUpdateListingDraft: noop,
    onManageDisableScrolling: noop,
    onChange: noop,
    errors: {},
    updateInProgress: false,
  },
  useDefaultWrapperStyles: false,
};
