--- import { Icon } from 'astro-icon/components' import { cn } from '../lib/cn' import type { ActionInputNoFormData, AnyAction } from '../lib/astroActions' import type { HTMLAttributes } from 'astro/types' export type Props = Omit, 'action'> & { label: string icon?: string action: TAction data: ActionInputNoFormData } const { label, icon, action, data, class: className, ...htmlProps } = Astro.props ---
{Object.entries(data).map(([key, value]) => )}