--- import type { HTMLTag } from 'astro/types' import CaptureScript from '../components/CaptureScript.astro' interface Props { id: string multiple?: boolean custom?: boolean text?: string description?: string /** heading level for the custom message title; match it to the surrounding context */ titleAs?: HTMLTag } const { id, multiple, custom, text, description, titleAs: Title = 'h3' } = Astro.props const label = 'Upload file' const dropzoneId = `dropzone-${id}` const dropzoneSelector = `#dropzone-${id}` const fileInputId = `${dropzoneId}-file` ---