[增添]添加了datasource的setting数据库以及默认值
This commit is contained in:
16
vendor/filament/notifications/resources/views/components/notification.blade.php
vendored
Normal file
16
vendor/filament/notifications/resources/views/components/notification.blade.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
@props([
|
||||
'notification',
|
||||
])
|
||||
|
||||
<div
|
||||
x-data="notificationComponent({ notification: @js($notification) })"
|
||||
{{
|
||||
$attributes
|
||||
->merge([
|
||||
'wire:key' => "{$this->getId()}.notifications.{$notification->getId()}",
|
||||
], escape: false)
|
||||
->class(['pointer-events-auto invisible'])
|
||||
}}
|
||||
>
|
||||
{{ $slot }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user