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

{% set attributes = create_attribute({
  'controls': true,
  'class': ['file-audio']
}) %}

{% set files = [
  {
    'source_attributes': create_attribute({
      'src': 'audio.mp3',
      'type': 'audio/mp3'
    })
  }
] %}

{% stories audio with { title: 'Components/Fields/Audio' } %}

{% story default with {
  name: 'Default Audio',
  args: {
    attributes: attributes,
    files: files
  }
} %}
  {% embed 'tailpine:audio' with {
    attributes: attributes,
    files: files
  } %}{% endembed %}
{% endstory %}

{% endstories %}