Skip to content

Commit 6790ecd

Browse files
committed
Typos
1 parent a613742 commit 6790ecd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public function setTableDataAttributes($attribute, $value) : array;
272272

273273
Along with being able to provide a view to a column, you can use pre-defined components that are built into the package. These are good for when you want to add actions to a column.
274274

275-
**Note:** By design using the components() method on a column will disable all other functionality (i.e. searching/sorting etc.).
275+
**Note:** By design using the `components()` method on a column will disable all other functionality (i.e. searching/sorting etc.).
276276

277277
#### Defining Components for a Column
278278

@@ -292,7 +292,7 @@ Column::make('Actions')
292292
->addComponent(Link::make('Delete'))
293293
````
294294

295-
If you would like to all the components for a given row, you may pass a callback as the second parameter of the `components()` method:
295+
If you would like to hide all the components for a given row, you may pass a callback as the second parameter of the `components()` method:
296296

297297
```php
298298
Column::make('Actions')
@@ -305,6 +305,8 @@ Column::make('Actions')
305305
})
306306
````
307307

308+
**Note:** You should still assert on the backend that these functions can not be performed on this entity.
309+
308310
Building on that, if you would like to pass a custom message to that column when hiding the components for this row, you may pass another callback as the third parameter:
309311

310312
```php

0 commit comments

Comments
 (0)