docs(icon): update

This commit is contained in:
Benjamin Canac
2024-07-11 17:14:59 +02:00
parent 810ea32bf8
commit b9319c0fbc
2 changed files with 4 additions and 4 deletions

View File

@@ -13,15 +13,14 @@ links:
You can use any name from the https://icones.js.org collection such as the `i-` prefix:
::component-card
::component-code
---
baseProps:
class: 'w-5 h-5'
props:
name: 'i-heroicons-light-bulb'
class: 'w-5 h-5'
---
::
::callout{icon="i-heroicons-light-bulb"}
::tip
It's highly recommended to install the icons collections you need, read more about this in [Theming](/getting-started/theming#icons).
::

View File

@@ -120,6 +120,7 @@ export default defineNuxtConfig({
const globals = components.filter(c => [
'UBadge',
'UButton',
'UIcon',
'UKbd',
'ULink'
].includes(c.pascalName))