@props([ 'image' => config('bladewind.empty_state.image', '/vendor/bladewind/images/empty-state.svg'), 'heading' => '', 'buttonLabel' => '', 'message' => '', // message to display // true or false. set to false if you want to fully control the content 'showImage' => config('bladewind.empty_state.show_image', true), 'onclick' => '', 'class' => '', 'imageCss' => '', 'imageSize' => 'medium', ]) @php $show_image = parseBladewindVariable($showImage); $button_label = $buttonLabel; $size = in_array($imageSize, ['small','medium','large','xl','omg']) ? $imageSize : 'medium'; $sizes = [ 'small' => 'h-28', 'medium' => 'h-40', 'large' => 'h-64', 'xl' => 'h-80', 'omg' => 'h-96', ]; @endphp