mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Fix getColumns return type
getColumns has only an int and array return type
This commit is contained in:
@@ -120,7 +120,7 @@ public function getColumns(): int | string | array
|
||||
You may wish to change the number of widget grid columns based on the responsive [breakpoint](https://tailwindcss.com/docs/responsive-design#overview) of the browser. You can do this using an array that contains the number of columns that should be used at each breakpoint:
|
||||
|
||||
```php
|
||||
public function getColumns(): int | string | array
|
||||
public function getColumns(): int | array
|
||||
{
|
||||
return [
|
||||
'md' => 4,
|
||||
|
||||
Reference in New Issue
Block a user