import { EtibBlock } from './types';
import AnimatedImageComponent from '@/components/blog/AnimatedImage';

export const AnimatedImage: EtibBlock = {
  slug: 'animatedImage',
  render: AnimatedImageComponent,
  fields: [
    {
      name: 'src',
      type: 'text',
      required: true,
    },
    {
      name: 'alt',
      type: 'text',
      required: true,
    },
    {
      name: 'width',
      type: 'number',
    },
    {
      name: 'height',
      type: 'number',
    },
  ],
};
