stack/src/components/sections/variant-parameter-section/variant-parameter-section.twig line 1

Open in your IDE?
  1. {% set com_props = props %}
  2. {% set section_props = {
  3.   name: "s-variant-parameter",
  4.   id: props.id,
  5.   is_container: false,
  6.   spacing: "none",
  7. } %}
  8. {% set header_props = {
  9.   heading: {
  10.     title: props.header.heading.title,
  11.     style: "h4",
  12.   },
  13.   variant: "left",
  14.   spacing: "sm",
  15.   extra_class: "s-variant-parameter__header"
  16. } %}
  17. {% embed "@Components/base-section/base-section.twig" with {props: section_props} %}
  18.   {% block content %}
  19.     {% if com_props.header %}
  20.       {% include "@Components/base-header/base-header.twig" with {props: header_props} %}
  21.     {% endif %}
  22.     {% include "@Components/groups/variant-parameter-group/variant-parameter-group.twig" with {props: {items: com_props.items}} %}
  23.   {% endblock %}
  24. {% endembed %}