{% stories menulocaltasks with { title: 'Components/Navigation/Menu local tasks' } %}

{% story default with {
    name: '1. Default',
    args: {
      primary: [
        { label: 'View', url: '/view', is_active: true },
        { label: 'Edit', url: '/edit', is_active: false },
        { label: 'Delete', url: '/delete', is_active: false },
        { label: 'Revisions', url: '/revisions', is_active: false }
      ],
      secondary: [
        { label: 'Sub-view', url: '/sub-view', is_active: false },
        { label: 'Sub-edit', url: '/sub-edit', is_active: false },
        { label: 'Sub-elete', url: '/sub-delete', is_active: false },
        { label: 'Sub-Revisions', url: '/sub-revisions', is_active: false }
      ]
    }
  } %}

  {% embed 'tailpine:menulocaltasks' with {
      primary: primary,
      secondary: secondary
    } %}{% endembed %}

{% endstory %}

{% endstories %}
