{% stories views with { title: 'Components/Views/mainview' } %}

{% story default with {
  name: 'Default View',
  args: {
    title: 'Sample View Title',
    header: 'Sample View Header',
    rows: '<p>Row 1 Content</p>
    <p>Row 2 Content</p>
    <p>Row 3 Content</p>',
    empty: 'No items available in this view.',
    pager: 'Pagination controls here',
    exposed: 'Exposed filters here',
    title_prefix: '<span class="title-prefix">Prefix</span>',
    title_suffix: '<span class="title-suffix">Suffix</span>',
    feed_icons: 'Feed icons here',
    footer: 'Sample View Footer',
    attachment_before: 'Content before the view',
    attachment_after: 'Content after the view',
    more: 'More link here'
  }
} %}
{% embed 'tailpine:mainview' with {
    title: title,
    header: header,
    rows: rows,
    empty: empty,
    pager: pager,
    exposed: exposed,
    title_prefix: title_prefix,
    title_suffix: title_suffix,
    feed_icons: feed_icons,
    footer: footer
  } %}
	{% block attachment_before %}
		{{ 'Content before the main view' }}
	{% endblock %}
	{% block attachment_after %}
		{{ 'Content after the main view' }}
	{% endblock %}
	{% block more %}
		{{ 'More links' }}
	{% endblock %}
{% endembed %}
{% endstory %}

{% endstories %}
