How do I put an icon to a LinkTo?

I read the documentation but explicitly not tell me how to configure put the icon for Array



19.6k

Hi jeiel,

i do something like this in volt:

 {{ tag_html("a", ["href":"#", 'aria-haspopup' : 'true', 'aria-expanded' : 'false', 'data-toggle' : 'dropdown', 'class' : 'btn btn-fab btn-fab-mini btn-raised btn-sm btn-material-red-600 dropdown-toggle shadow-z-5']) }}
    <i class="fa fa-camera"></i> Camera
    {{ tag_html_close("a") }}

Rgds

Stefan