<?php

namespace Aura\Base\Livewire\Resource;

class CreateModal extends Create
{
    public static function modalMaxWidth(): string
    {
        return '7xl';
    }

    public function mount($slug = null, $params = [])
    {
        $this->inModal = true;
        $this->params = $params;

        parent::mount($slug);
    }

    public function render()
    {
        return view($this->model->createView());
    }
}
