Version 1
[yaffs-website] / web / modules / contrib / paragraphs / templates / paragraphs-dropbutton-wrapper.html.twig
diff --git a/web/modules/contrib/paragraphs/templates/paragraphs-dropbutton-wrapper.html.twig b/web/modules/contrib/paragraphs/templates/paragraphs-dropbutton-wrapper.html.twig
new file mode 100644 (file)
index 0000000..38cff67
--- /dev/null
@@ -0,0 +1,21 @@
+{#
+/**
+ * @file
+ * Default theme implementation for a paragraphs dropbutton wrapper.
+ *
+ * Available variables:
+ * - children: Contains the child elements of the paragraphs dropbutton menu.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_paragraphs_dropbutton_wrapper()
+ *
+ * @ingroup themeable
+ */
+#}
+{% if children %}
+  {% spaceless %}
+    <div class="paragraphs-dropbutton-wrapper">
+      {{ children }}
+    </div>
+  {% endspaceless %}
+{% endif %}