@props(['backgroundColour' => 'bg-blue-700', 'textColour' => 'text-white','title' => '', 'footer' => '', 'icon' => '', 'buttonText' => 'Delete', 'button', 'size' => 'base', 'modalButtonClass' => ''])
@isset($button) {{$button}} @else {{$buttonText}} @endisset @php switch ($size) { case 'base': $sizeClass = "h-[60%] w-11/12 md:w-10/12 lg:w-8/12 xl:w-6/12"; break; case 'lg': $sizeClass = "h-[90%] w-11/12 lg:w-9/12"; default: $sizeClass = "h-[90%] w-11/12 lg:w-9/12"; break; } @endphp