mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
docs: fix code entry example
This commit is contained in:
@@ -76,9 +76,9 @@ CodeEntry::make('code')
|
||||
Optionally, you may pass a boolean value to control if the code should be copyable or not:
|
||||
|
||||
```php
|
||||
use Filament\Infolists\Components\ColorEntry;
|
||||
use Filament\Infolists\Components\CodeEntry;
|
||||
|
||||
ColorEntry::make('color')
|
||||
CodeEntry::make('code')
|
||||
->copyable(FeatureFlag::active())
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user