Skip to content

Commit f015736

Browse files
committed
Add default
1 parent b2b01dd commit f015736

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
44

55
## [Unreleased]
66

7+
## [0.3.2] - 2020-09-25
8+
9+
### Changed
10+
11+
- Added thead class to option array
12+
713
## [0.3.1] - 2020-09-18
814

915
### Changed
@@ -119,7 +125,8 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
119125

120126
- Initial release
121127

122-
[Unreleased]: https://github.com/rappasoft/laravel-livewire-tables/compare/v0.3.1...development
128+
[Unreleased]: https://github.com/rappasoft/laravel-livewire-tables/compare/v0.3.2...development
129+
[0.3.2]: https://github.com/rappasoft/laravel-livewire-tables/compare/v0.3.1...v0.3.2
123130
[0.3.1]: https://github.com/rappasoft/laravel-livewire-tables/compare/v0.3.0...v0.3.1
124131
[0.3.0]: https://github.com/rappasoft/laravel-livewire-tables/compare/v0.2.1...v0.3.0
125132
[0.2.1]: https://github.com/rappasoft/laravel-livewire-tables/compare/v0.2.0...v0.2.1

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@ They are done this way instead of the config file that way you can have per-comp
304304
protected $options = [
305305
// The class set on the table when using bootstrap
306306
'bootstrap.classes.table' => 'table table-striped table-bordered',
307+
308+
// The class set on the table's thead when using bootstrap
309+
'bootstrap.classes.thead' => null,
307310

308311
// Whether or not the table is wrapped in a `.container-fluid` or not
309312
'bootstrap.container' => true,

src/Traits/Options.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ trait Options
2121
'bootstrap' => [
2222
'classes' => [
2323
'table' => 'table table-bordered table-striped',
24+
'thead' => null,
2425
],
2526
'container' => true,
2627
'responsive' => true,

0 commit comments

Comments
 (0)