uikit_components-8.x-3.1/templates/components/uikit-button.html.twig
templates/components/uikit-button.html.twig
{#
/**
* @file
* Default theme implementation for a UIkit Button.
*
* Available variables:
* - value: The value of the badge.
* - attributes: HTML attributes to be applied to the badge.
*
* @see \Drupal\uikit_components\Element\UIkitButton
* @see template_preprocess_uikit_button()
* @see https://getuikit.com/docs/button
*
* @ingroup uikit_components_theme_render
*/
#}
{% if text %}
<{{ button_type }}{{ attributes }}>{{ text }}</{{ button_type }}>
{% endif %}
