File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
resources/views/includes/actions Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to ` laravel-livewire-tables ` will be documented in this file
4
4
5
+ ## [ v3.4.12] - 2024-08-23
6
+ ### Tweaks
7
+ - Adjust Action Button Margins by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1880
8
+
5
9
## [ v3.4.11] - 2024-08-23
6
10
### New Features
7
11
- Add setIconLeft/setIconRight for Actions by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1877
Original file line number Diff line number Diff line change 1
1
---
2
2
title : Commands
3
- weight : 6
3
+ weight : 5
4
4
---
5
5
6
6
## Generating Datatable Components
7
7
8
8
To generate a new datatable component you can use the ` make:datatable ` command:
9
9
10
- Create a new datatable component called ` UserTable ` in ` App\Livewire ` that uses the ` App\Models\User ` model.
10
+ Create a new datatable component called ` UsersTable ` in ` App\Livewire ` that uses the ` App\Models\User ` model.
11
11
12
12
``` bash
13
- php artisan make:datatable UserTable User
13
+ php artisan make:datatable UsersTable User
14
14
```
15
15
16
16
### Custom Model Path
Original file line number Diff line number Diff line change 1
1
---
2
2
title : Rendering
3
- weight : 5
3
+ weight : 6
4
4
---
5
5
6
6
## Rendering Components
Original file line number Diff line number Diff line change 24
24
@elseif ($action -> hasIcon () && ! $action -> getIconRight () )
25
25
<i {{ $action -> getIconAttributes ()
26
26
-> class ([" ms-1 " . $action -> getIcon () => $isBootstrap ])
27
- -> class ([" ml -1 " . $action -> getIcon () => $isTailwind ])
27
+ -> class ([" mr -1 " . $action -> getIcon () => $isTailwind ])
28
28
-> except (' default-styling' )
29
29
} }
30
30
></i >
You can’t perform that action at this time.
0 commit comments