title: Laravel 8 - Custom attributes of component giving error: Unresolvable dependency resolving
body: <p>I am trying to pass some text data to component like this</p>
  <pre><code>&lt;x-header title=&quot;{{$product-&gt;page_title}}&quot; desc=&quot;{{$product-&gt;page_des}}&quot; keywords=&quot;{{$product-&gt;keywords}}&quot; /&gt;
  </code></pre>
  <p>And did this in <code>view/component -&gt; header.php</code></p>
  <pre><code>public $title;
  public $desc;
  public $keywords;
  public function __construct($title, $desc, $keywords)
  {
      $this-&gt;title = $title;
      $this-&gt;desc = $desc;
      $this-&gt;keywords = $keywords;
  }
  </code></pre>
  <p>And finally calling data in <code>view -&gt; components -&gt; header.blade.php</code> like this</p>
  <pre><code>&lt;title&gt;{{$title}}&lt;/title&gt;
  &lt;meta name=&quot;description&quot; content=&quot;{{$desc}}&quot;&gt;
  &lt;meta name=&quot;keywords&quot; content=&quot;{{$keywords}}&quot;&gt; 
  </code></pre>
  <p>But it is giving me this error</p>
  <pre><code>Unresolvable dependency resolving [Parameter #0 [ &lt;required&gt; $title ]] in class App\View\Components\header (View: D:\xampp\htdocs\elab\resources\views\productDetail.blade.php)
  </code></pre>
  <p>Any idea, where I went wrong here?</p>