mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-31 22:36:52 +01:00 
			
		
		
		
	 c5aa8a3980
			
		
	
	
		c5aa8a3980
		
			
		
	
	
	
	
		
			
			Co-authored-by: notCharles <charles@pelican.dev> Co-authored-by: Lance Pioch <lancepioch@gmail.com> Co-authored-by: Boy132 <mail@boy132.de> Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			940 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			940 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <x-filament::section
 | |
|     :aside="$isAside()"
 | |
|     :collapsed="$isCollapsed()"
 | |
|     :collapsible="$isCollapsible() && (! $isAside)"
 | |
|     :compact="$isCompact()"
 | |
|     :content-before="$isFormBefore()"
 | |
|     :description="$getDescription()"
 | |
|     :footer-actions="$getFooterActions()"
 | |
|     :footer-actions-alignment="$getFooterActionsAlignment()"
 | |
|     :header-actions="$getHeaderActions()"
 | |
|     :heading="$getHeading()"
 | |
|     :icon="$getIcon()"
 | |
|     :icon-color="$getIconColor()"
 | |
|     :icon-size="$getIconSize()"
 | |
|     :persist-collapsed="$shouldPersistCollapsed()"
 | |
|     :attributes="
 | |
|         \Filament\Support\prepare_inherited_attributes($attributes)
 | |
|         ->merge(['id' => $getId()], escape: false)
 | |
|     "
 | |
| >
 | |
|     <x-slot name="heading">
 | |
|         @livewire(App\Filament\Admin\Widgets\DiscordPreview::class, ['record' => $getRecord(), 'pollingInterval' => $pollingInterval ?? null])
 | |
|     </x-slot>
 | |
| 
 | |
|     {{ $getChildComponentContainer() }}
 | |
| </x-filament::section>
 |