{% set attributes = create_attribute()
        .setAttribute('class', 'list-item')
    %}

    {% set wrapper_attributes = create_attribute()
        .setAttribute('class', 'item-list-wrapper')
    %}

{% stories item_list with { title: 'Components/Datasets/Item List' } %}

  {% story default with {
    name: 'Default List',
    args: {
      title: 'Test List',
      list_type: 'ol',
      wrapper_attributes: wrapper_attributes,
      attributes: attributes,
      context: {
        list_style: 'default'
      },
      items: [
        { value: "Item 1"},
        { value: "Item 2"},
        { value: "Item 3"}
      ],
      empty: 'No items available'
    }
  } %}    



    {% include 'tailpine:item-list' with {
      title: title,
      list_type: list_type,
      wrapper_attributes: wrapper_attributes,
      attributes: attributes,
      context: context,
      items: items,
      empty: empty
    } %}

  {% endstory %}

{% endstories %}
