{#
/**
 * @file
 * Mock data for the File Link component in Storybook.
 */
#}

{% set attributes = create_attribute({
  'class': ['file-link']
}) %}

{% set link = '<a href="document.pdf">Download PDF</a>' %}
{% set icon = '<img src="download.png" alt="PDF Icon">' %}
{% stories file_link with { title: 'Components/Fields/FileLink' } %}

{% story default with {
  name: 'Default File Link',
  args: {
    attributes: attributes,
    link: link,
    icon: icon  }
} %}
  {% embed 'tailpine:file-link' with {
    attributes: attributes,
    link: link,
    icon: icon
   } %}{% endembed %}
{% endstory %}

{% endstories %}