mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
20 lines
474 B
PHP
20 lines
474 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Components\Columns;
|
|
|
|
use Filament\Support\Icons\Heroicon;
|
|
use Filament\Tables\Columns\TextColumn as ColumnsTextColumn;
|
|
|
|
class TextColumn extends ColumnsTextColumn
|
|
{
|
|
public function copyableWithMessage(bool $condition = true): static
|
|
{
|
|
return $this
|
|
->copyable($condition)
|
|
->copyMessage(__('filament.actions.base.copied'))
|
|
->icon(Heroicon::OutlinedClipboard);
|
|
}
|
|
}
|