mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-11-03 21:05:39 +01:00
20 lines
483 B
PHP
20 lines
483 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Components\Infolist;
|
|
|
|
use Filament\Infolists\Components\TextEntry as ComponentsTextEntry;
|
|
use Filament\Support\Icons\Heroicon;
|
|
|
|
class TextEntry extends ComponentsTextEntry
|
|
{
|
|
public function copyableWithMessage(bool $condition = true): static
|
|
{
|
|
return $this
|
|
->copyable($condition)
|
|
->copyMessage(__('filament.actions.base.copied'))
|
|
->icon(Heroicon::OutlinedClipboard);
|
|
}
|
|
}
|