list-group

On this page

In Infolist

to use Lara Zeus list-group in your infolist:

1\LaraZeus\ListGroup\Infolists\ListEntry::make('items')
2 // show the item list using 'list-disc'
3 ->list()
4 // set state
5 ->state(function ($record) {
6 ListItem::make()
7 ->id(1)
8 ->url('#1')
9 ->color('info')
10 ->tooltip('hey')
11 ->label('Hi'),
12 ListItem::make()
13 ->id(2)
14 ->color('danger')
15 ->url('#2')
16 ->label('Hi2'),
17 }
18 ),
19,

Zeus is an open-source project. Thanks to my sponsors for helping me maintain this project.