Skip to content

Commit 993d23c

Browse files
authored
Update README.md
1 parent d4ec99f commit 993d23c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ return [
218218
];
219219
```
220220

221-
> **Warning**
221+
> [!WARNING]
222222
> Always make sure you're pointing to existing directories.
223223
224224
#### Multiple Paths
@@ -242,7 +242,7 @@ return [
242242

243243
This gives you the benefit from grouping icons from different paths under a single set where you can define the same prefix and default classes.
244244

245-
> **Warning**
245+
> [!WARNING]
246246
> When using multiple paths instead of one, Blade Icons will return the first icon it finds when an icon name is present in more than one path. Please ensure you use unique icon names when registering multiple paths if you want to retrieve the correct icon.
247247
248248
### Filesystem Disk
@@ -311,7 +311,7 @@ return [
311311
];
312312
```
313313

314-
> **Note**
314+
> [!NOTE]
315315
> There's one caveat when using fallback icons and that is that they don't work when using [Blade Components](#components). In this case, Laravel will throw an exception that the component cannot be found. If you want to make use of fallback icons please consider one of the other usages.
316316
317317
### Prefixing Icons
@@ -405,7 +405,7 @@ Or any other attributes for that matter:
405405
<x-icon-camera class="icon-lg" id="settings-icon" style="color: #555" data-baz/>
406406
```
407407

408-
> **Note**
408+
> [!NOTE]
409409
> With Blade components, using a prefix is always required, even when referencing icons from the default set.
410410
411411
#### Deferring icons
@@ -428,7 +428,7 @@ This will push the icons to the stack "bladeicons", you should load this stack a
428428
</html>
429429
```
430430

431-
> **Warning**
431+
> [!WARNING]
432432
> Deferring icons is only possible using the `<x-icon>` component. This [feature doesn't work](https://github.com/blade-ui-kit/blade-icons/issues/194#issuecomment-1175156423) with the `@svg` Blade directive or the `svg()` helper function.
433433
434434
##### Using deferred icons in JavaScript

0 commit comments

Comments
 (0)