Skip to content

Commit

Permalink
fix: update Navbar component to allow passing in additional Icon comp…
Browse files Browse the repository at this point in the history
…onent config options
  • Loading branch information
sghoweri committed Sep 5, 2019
1 parent b33a41d commit ae8c6f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/components/bolt-navbar/src/_navbar-title.twig
Expand Up @@ -6,10 +6,10 @@
{% set navbar_title %}
{% if icon %}
<div class="c-bolt-navbar__title-icon">
{% include "@bolt/icon.twig" with {
"name": icon.name,
"size": "large"
} only %}
{% set iconOptions = icon | merge({
size: "large"
}) %}
{% include "@bolt-components-icon/icon.twig" with iconOptions only %}
</div>
{% endif %}
<{{ tag }} class="c-bolt-navbar__title-text">
Expand Down

0 comments on commit ae8c6f1

Please sign in to comment.