<?php

namespace App\View\Components\Svg;

use Illuminate\View\Component;

class LocationIcon extends Component
{
    public $height;

    public $width;

    public $stroke;

    public $fill;

    /**
     * Create a new component instance.
     *
     * @return void
     */
    public function __construct($height = 22, $width = 22, $stroke = '#939AAD', $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.location-icon');
    }
}
