<?php

namespace App\View\Components\Forms;

use Illuminate\View\Component;

class MostrarRotas extends Component
{

    /**
     * Rotas.
     *
     * 
     */
    public $rotas;
    

    /**
     * configCores.
     *
     * 
     */
    public $configCores;


    /**
     * Create a new component instance.
     *
     * @return void
     */
    public function __construct($rotas, $configCores)
    {
        $this->rotas = $rotas;
        $this->configCores = $configCores;
    }

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