{# Test: Components - Button Component #}
{%-- atom: @props(text:String, type:String="primary", disabled:Boolean=false) --%}
{% if $slots.icon %}
{{ $slots.icon() }}
{% endif %}
{{ text }}
{# Usage in parent: #}
{# {% component("button", {text: "Click Me", type: "primary"}) %} #}
{# {% component("button", {text: "Submit", type: "success"}) %} #}