public static function table(Table $table): Table
{
return $table
->columns([
])
->filters([
//
])
->headerActions([
Tables\Actions\CreateAction::make('create')
->label('Add Unit')
->icon('heroicon-o-plus-small'),
])
->actions([
Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make(),
Tables\Actions\DeleteAction::make(),
])
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),
]),
])
->emptyStateActions([
Tables\Actions\CreateAction::make(),
]);
}
public static function table(Table $table): Table
{
return $table
->columns([
])
->filters([
//
])
->headerActions([
Tables\Actions\CreateAction::make('create')
->label('Add Unit')
->icon('heroicon-o-plus-small'),
])
->actions([
Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make(),
Tables\Actions\DeleteAction::make(),
])
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),
]),
])
->emptyStateActions([
Tables\Actions\CreateAction::make(),
]);
}