Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.

Commit a77745d

Browse files
authored
Update readme.md
1 parent e9ff59b commit a77745d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Thats it. Now you should see the content of your component in the toolbar.
2828

2929
### Provide extra data
3030

31-
If you want to add extra data (for example a label) to your component (without extra request), just add it to the returned array in the `meta` key:
31+
If you want to add extra data (for example a label) to your component (without extra request), just add it to the `addItem` method as second parameter (as array):
3232

3333
```php
3434
public function customIndexToolbarComponents()

0 commit comments

Comments
 (0)