Skip to content

Commit 4310146

Browse files
committed
Allow global attributes to get merged in.
1 parent 968357f commit 4310146

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/Helper/Icon.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,15 @@ You can also set a global attributes config that would be merged in with every i
5050
```php
5151
'Icon' => [
5252
'sets' => [
53+
'material' => [
54+
'attributes' => [
55+
'data-custom' => 'some-custom-default',
56+
],
57+
],
5358
...
5459
],
5560
'attributes' => [
56-
'data-custom' => 'some-default',
61+
'data-default' => 'some-default',
5762
...
5863
],
5964
],

0 commit comments

Comments
 (0)