mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Apply suggestions from code review
Co-authored-by: Dan Harrin <git@danharrin.com>
This commit is contained in:
@@ -82,12 +82,13 @@ TextColumn::make('created_at')
|
||||
->since()
|
||||
```
|
||||
|
||||
Additionally, you can use the `dateTooltip()`, `dateTimeTooltip()` OR `timeTooltip()` method to display the formatted date in a tooltip:
|
||||
Additionally, you can use the `dateTooltip()`, `dateTimeTooltip()` or `timeTooltip()` method to display a formatted date in a tooltip, often to provide extra information:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('created_at')
|
||||
->since()
|
||||
->dateTimeTooltip()
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user