@props([ 'heading' => 'Error!', 'description' => 'Something went wrong', 'button_text' => 'Go to homepage', 'buttonText' => 'Go to homepage', 'button_url' => '/', 'buttonUrl' => '/', 'image' => '', ]) @php // reset variables for Laravel 8 support if ($buttonText !== $button_text) $button_text = $buttonText; if ($buttonUrl !== $button_url) $button_url = $buttonUrl; @endphp