stack/src/components/items/filtration-visual-item/filtration-visual-item.twig line 1

Open in your IDE?
  1. {%- set class_name = [
  2.   "i-filtration-visual",
  3.   "d-flex gap-2 align-items-start",
  4.   props.extra_class ? props.extra_class : null
  5. ]|join(' ')|trim -%}
  6. {%- set attrs = [
  7.   'class="' ~ class_name ~ '"',
  8. ] -%}
  9. {%- set attrs = attrs|join(' ')|trim -%}
  10. <div {{ attrs|raw }}>
  11.   {% if props %}
  12.     {% include "@Components/items/filtration-visual-item/filtration-visual-item--raw.twig" with {props: props} %}
  13.   {% endif %}
  14. </div>