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 22
33All notable changes to ` laravel-livewire-tables `  will be documented in this file
44
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+ 
59## [ v3.4.11]  - 2024-08-23 
610### New Features  
711-  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 11--- 
22title : Commands 
3- weight : 6 
3+ weight : 5 
44--- 
55
66## Generating Datatable Components  
77
88To generate a new datatable component you can use the ` make:datatable `  command:
99
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.
1111
1212``` bash 
13- php artisan make:datatable UserTable  User
13+ php artisan make:datatable UsersTable  User
1414``` 
1515
1616### Custom Model Path  
Original file line number Diff line number Diff line change 11--- 
22title : Rendering 
3- weight : 5 
3+ weight : 6 
44--- 
55
66## Rendering Components  
Original file line number Diff line number Diff line change 2424        @elseif ($action -> hasIcon () &&  ! $action -> getIconRight ()
2525            <i  {{  $action -> getIconAttributes () 
2626                    -> class ([" ms-1 " .  $action -> getIcon () =>  $isBootstrap ]) 
27-                     -> class ([" ml -1 " .  $action -> getIcon () =>  $isTailwind ]) 
27+                     -> class ([" mr -1 " .  $action -> getIcon () =>  $isTailwind ]) 
2828                    -> except (' default-styling'  
2929                 } }
3030            ></i >
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments