pianello-api/resources/views/components/base/alert/dismiss-button.blade.php
Ale Gallo 96c0bfb8ce Committing laravel (part 5)
committing blade templating files and components that might come in handy
2023-11-10 16:41:20 +01:00

9 lines
308 B
PHP

@props(['as' => 'button'])
<{{ $as }}
data-tw-merge
data-tw-dismiss="alert"
type="button"
aria-label="Close"
{{ $attributes->class(['text-slate-800 py-2 px-3 absolute right-0 my-auto mr-2'])->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}
>{{ $slot }}</{{ $as }}>