title: How to pass an array to a @slot in laravel 5.4?
body: <p>I am trying to use it in my layout and I'm suddenly bump-up with the idea of using the new features of Laravel 5.4 @slot.</p>
  
  <p>Just wondering if passing an array to a slot possible?</p>
  
  <pre><code>        @section('SampleSection')
  
              @component( 'mylayouts.partials.contentheader' )
  
                  @slot('title')
                      Sample Title
                  @endslot
  
                  @slot('indexes')
                      Pass array here  // example [ 'a', 'b', 'c' ]
                  @endslot
  
              @endcomponent
  
          @endsection
  </code></pre>