We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2788f4a commit 117043eCopy full SHA for 117043e
docs/usage/creating-components.md
@@ -22,15 +22,17 @@ class UsersTable extends DataTableComponent
22
23
public function configure(): void
24
{
25
- $this->setPrimaryKey('id')
+ $this->setPrimaryKey('id');
26
}
27
28
public function columns(): array
29
30
- Column::make('ID', 'id')
31
- ->sortable(),
32
- Column::make('Name')
33
+ return [
+ Column::make('ID', 'id')
+ ->sortable(),
+ Column::make('Name')
34
35
+ ];
36
37
38
```
0 commit comments