import { Meta, StoryObj } from '@storybook/react'
import { ImageCard } from './ImageCard'

const meta: Meta<typeof ImageCard> = {
  component: ImageCard,
  decorators: [
    (Story) => (
      <div style={{ width: "200px", height: "200px"}}>
        <Story />
      </div>
    )
  ]
}

type Story = StoryObj<typeof ImageCard>;
export default meta

export const Default: Story = {
  args: {
    src: "https://www.sfcatholic.org/bishopsbulletin/wp-content/uploads/sites/3/2022/04/monstrance2-insta-1024x1024.jpg",
    title: "Anbetung in Oktober",
    href: "https://"
  },
}