Skip to content

Commit

Permalink
Accept tallkit options
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Jun 12, 2021
1 parent d87ee95 commit bfff7c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/layouts/html.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@endif

@if($tallkit)
@tallkit
@tallkit(is_array($tallkit) ? $tallkit : [])
@endif

@if($stackScripts)
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Layouts/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Html extends BladeComponent
public $livewire;

/**
* @var bool
* @var bool|array
*/
public $tallkit;

Expand All @@ -42,7 +42,7 @@ class Html extends BladeComponent
* @param string $title
* @param string $charset
* @param bool $livewire
* @param bool $tallkit
* @param bool|array $tallkit
* @param string|bool $stackStyles
* @param string|bool $stackScripts
* @param string|null $theme
Expand Down

0 comments on commit bfff7c8

Please sign in to comment.