{% set com_props = props %}
{% set section_props = {
name: "s-documents",
id: props.id,
is_container: props.is_container,
spacing: props.spacing,
} %}
{% set header_props = {
heading: {
title: props.header.heading.title,
style: "h4",
},
variant: "left",
spacing: "sm",
extra_class: "s-documents__header"
} %}
{% if props.items %}
{% embed "@Components/base-section/base-section.twig" with {props: section_props} %}
{% block content %}
{% if com_props.header %}
{% include "@Components/base-header/base-header.twig" with {props: header_props} %}
{% endif %}
{% include "@Components/groups/documents-group/documents-group.twig" with {props: {items: com_props.items}} %}
{% endblock %}
{% endembed %}
{% endif %}