<?php

namespace App\View\Components\Svg;

use Illuminate\View\Component;

class SearchIcon extends Component
{
    public $height;

    public $width;

    public $stroke;

    public $fill;

    /**
     * Create a new component instance.
     *
     * @return void
     */
    public function __construct($height = 24, $width = 24, $stroke = '#0066FF', $fill = 'none')
    {
        $this->height = $height;
        $this->width = $width;
        $this->stroke = $stroke;
        $this->fill = $fill;
    }

    /**
     * Get the view / contents that represent the component.
     *
     * @return \Illuminate\Contracts\View\View|\Closure|string
     */
    public function render()
    {
        return view('components.svg.search-icon');
    }
}
