import React from 'react'
import { Story, Meta } from '@storybook/react'
import { NextImage, NextImageProps } from './NextImage'

export default {
  title: 'Image and icons/NextImage',
  component: NextImage,
  argTypes: {}
} as Meta

const Template: Story<NextImageProps> = (args: any) => (
  <NextImage {...args}></NextImage>
)

export const Default = Template.bind({})
Default.args = {
  source: 'https://via.placeholder.com/350x350',
  height: '80',
  width: '80',
  alt: 'Placeholder image'
}
