import React from 'react';
import ImageWidget from '../components/ImageWidget';

export default {
  title: 'page-ui/ImageWidget',
  component: ImageWidget,
};

const Template = (args) => <ImageWidget  {...args} />;

export const ImageWidgetDefault = Template.bind({});
ImageWidgetDefault.args = {
}

export const ImageWidgetWeb = Template.bind({});
ImageWidgetWeb.args = {
  link: '#',
  src: 'https://picsum.photos/0/0',
  alt: 'ImageWidget',
  objectFit: 'contain',
  marginBottom: 0,

}

export const ImageWidgetCustomWeb = Template.bind({});
ImageWidgetCustomWeb.args = {
  link: '#',
  src: 'https://picsum.photos/0/0',
  alt: 'ImageWidget',
  objectFit: 'contain',
  height: '300px',
  width: '300px',
  marginBottom: 0,

}
