@props([
'title' => 'Are you sure?',
'isErrorButton' => false,
'buttonTitle' => 'REWRITE THIS BUTTON TITLE PLEASSSSEEEE',
'buttonFullWidth' => false,
'customButton' => null,
'disabled' => false,
'action' => 'delete',
'content' => null,
])
@if ($customButton)
@if ($buttonFullWidth)
{{ $customButton }}
@else
{{ $customButton }}
@endif
@else
@if ($content)
{{ $content }}
@else
@if ($disabled)
@if ($buttonFullWidth)
{{ $buttonTitle }}
@else
{{ $buttonTitle }}
@endif
@elseif ($isErrorButton)
@if ($buttonFullWidth)
{{ $buttonTitle }}
@else
{{ $buttonTitle }}
@endif
@else
@if ($buttonFullWidth)
{{ $buttonTitle }}
@else
{{ $buttonTitle }}
@endif
@endif
@endif
@endif
{{ $slot }}
Cancel
@if ($attributes->whereStartsWith('wire:click')->first())
@if ($isErrorButton)
Continue
@else
Continue
@endif
@elseif ($attributes->whereStartsWith('@click')->first())
@if ($isErrorButton)
get('@click') }}">Continue
@else
get('@click') }}">Continue
@endif
@elseif ($action)
@if ($isErrorButton)
Continue
@else
Continue
@endif
@endif