Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
199ocero authored Jan 14, 2024
1 parent d766484 commit 665e03a
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,16 @@ Sometimes, when we don't have any info to show to users, it's important to impro
public function activityTimelineInfolist(Infolist $infolist): Infolist
{
return $infolist
->aside(true)
// ...
->emptyStateHeading('No activities yet.')
->emptyStateDescription('Check back later for activities that have been recorded.')
->emptyStateIcon('heroicon-o-bolt-slash')
->state([
'activities' => []
)]
->schema([
ActivitySection::make('activities')
// ... other code
->emptyStateHeading('No activities yet.')
->emptyStateDescription('Check back later for activities that have been recorded.')
->emptyStateIcon('heroicon-o-bolt-slash')
])
}
```

Expand Down

0 comments on commit 665e03a

Please sign in to comment.