Skip to content

Commit

Permalink
feat(header): make slots more flexible
Browse files Browse the repository at this point in the history
By removing the need for pre-defined named slots

Signed-off-by: Kai Henseler <[email protected]>
  • Loading branch information
bromiesTM committed Jan 13, 2025
1 parent 65fc08b commit 743131c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions IONOS/src/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<ionos-icons product></ionos-icons>
</a>
<div class="header-right">
<slot name="search" />
<slot name="webmail" />
<slot name="usermenu" />
<slot></slot>
</div>
</div>

Expand Down

0 comments on commit 743131c

Please sign in to comment.