$columns, ]; } $this->gridColumns = array_merge($this->gridColumns ?? [], $columns); return $this; } public function getGridColumns($breakpoint = null): array | int | string | null { $columns = $this->gridColumns ?? [ 'default' => 1, 'sm' => null, 'md' => null, 'lg' => null, 'xl' => null, '2xl' => null, ]; if ($breakpoint !== null) { return $columns[$breakpoint] ?? null; } return $columns; } }