docs: add missing New badges

This commit is contained in:
Benjamin Canac
2023-11-22 15:15:28 +01:00
parent ec58948153
commit dd55b4f602
3 changed files with 3 additions and 3 deletions

View File

@@ -311,7 +311,7 @@ export default defineNuxtConfig({
}) })
``` ```
### Custom config ### Custom config :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
If you have specific needs, like using a custom icon collection, you can use the `icons` option in your `nuxt.config.ts` as an object to override the config of the [egoist/tailwindcss-icons](https://github.com/egoist/tailwindcss-icons#plugin-options) plugin. If you have specific needs, like using a custom icon collection, you can use the `icons` option in your `nuxt.config.ts` as an object to override the config of the [egoist/tailwindcss-icons](https://github.com/egoist/tailwindcss-icons#plugin-options) plugin.

View File

@@ -26,7 +26,7 @@ props:
--- ---
:: ::
### Size ### Size :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
Use the `size` prop to change the size of the Toggle. Use the `size` prop to change the size of the Toggle.

View File

@@ -163,7 +163,7 @@ code: >-
This will only work with form elements that support the `size` prop. This will only work with form elements that support the `size` prop.
:: ::
### Eager Validation ### Eager Validation :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
By default, validation is only triggered after the initial `blur` event. This is to prevent the form from being validated as the user is typing. You can override this behavior by setting the `eager-validation` prop to `true` By default, validation is only triggered after the initial `blur` event. This is to prevent the form from being validated as the user is typing. You can override this behavior by setting the `eager-validation` prop to `true`