import { Block } from 'payload'; export const AnimatedImage: Block = { slug: 'animatedImage', fields: [ { name: 'src', type: 'text', required: true, }, { name: 'alt', type: 'text', required: true, }, { name: 'width', type: 'number', }, { name: 'height', type: 'number', }, ], };