27 lines
699 B
PHP
27 lines
699 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\GameServers\Schemas;
|
|
|
|
use Filament\Infolists\Components\TextEntry;
|
|
use Filament\Schemas\Schema;
|
|
|
|
class GameServersInfolist
|
|
{
|
|
public static function configure(Schema $schema): Schema
|
|
{
|
|
return $schema
|
|
->components([
|
|
TextEntry::make('id')
|
|
->label('ID'),
|
|
TextEntry::make('name'),
|
|
TextEntry::make('slug'),
|
|
TextEntry::make('created_at')
|
|
->dateTime()
|
|
->placeholder('-'),
|
|
TextEntry::make('updated_at')
|
|
->dateTime()
|
|
->placeholder('-'),
|
|
]);
|
|
}
|
|
}
|