diff --git a/src/Illuminate/View/ComponentAttributeBag.php b/src/Illuminate/View/ComponentAttributeBag.php index 3efb8c6b7966..255d16454127 100644 --- a/src/Illuminate/View/ComponentAttributeBag.php +++ b/src/Illuminate/View/ComponentAttributeBag.php @@ -8,12 +8,13 @@ use Illuminate\Support\Arr; use Illuminate\Support\HtmlString; use Illuminate\Support\Str; +use Illuminate\Support\Traits\Conditionable; use Illuminate\Support\Traits\Macroable; use IteratorAggregate; class ComponentAttributeBag implements ArrayAccess, Htmlable, IteratorAggregate { - use Macroable; + use Conditionable, Macroable; /** * The raw array of attributes.