docs: rename Preset title to Config

This commit is contained in:
Benjamin Canac
2023-10-27 20:43:23 +02:00
parent abbcc37fbb
commit 53b26b8194
34 changed files with 34 additions and 34 deletions

View File

@@ -152,7 +152,7 @@ Each component has a `ui` prop that allows you to customize everything specifica
```
::callout{icon="i-heroicons-light-bulb"}
You can find the default classes for each component under the `Preset` section.
You can find the default classes for each component under the `Config` section.
::
Thanks to [tailwind-merge](https://github.com/dcastil/tailwind-merge), the `ui` prop is smartly merged with the config. This means you don't have to rewrite everything.

View File

@@ -157,6 +157,6 @@ Use the `#item` slot to customize the items content or pass a `slot` property to
:component-props
## Preset
## Config
:component-preset

View File

@@ -148,6 +148,6 @@ Use the `#step-<index>` to alter the HTML being shown for each step.
:component-props
## Preset
## Config
:component-preset

View File

@@ -173,7 +173,7 @@ The `label` slot can be used to change how the label below the meter bar is show
:component-props{slug="MeterGroup"}
## Preset
## Config
:component-preset

View File

@@ -167,6 +167,6 @@ This can be handy when you want to display HTML content. To achieve this, you ca
:component-props
## Preset
## Config
:component-preset

View File

@@ -115,7 +115,7 @@ code: |
:component-props{slug="avatar-group"}
## Preset
## Config
:component-preset

View File

@@ -145,6 +145,6 @@ You can customize the whole [preset](#preset) by using the `ui` prop.
:component-props
## Preset
## Config
:component-preset

View File

@@ -377,7 +377,7 @@ excludedProps:
:component-props{slug="ButtonGroup"}
## Preset
## Config
:component-preset

View File

@@ -60,6 +60,6 @@ Use the `#item` slot to customize the items content or pass a `slot` property to
:component-props
## Preset
## Config
:component-preset

View File

@@ -52,6 +52,6 @@ U
:component-props
## Preset
## Config
:component-preset

View File

@@ -194,6 +194,6 @@ As leading and trailing icons are wrapped around a `pointer-events-none` class,
:component-props
## Preset
## Config
:component-preset

View File

@@ -136,6 +136,6 @@ props:
:component-props
## Preset
## Config
:component-preset

View File

@@ -217,6 +217,6 @@ baseProps:
:component-props
## Preset
## Config
:component-preset

View File

@@ -145,6 +145,6 @@ An example is available in the [Create option](#create-option) section.
:component-props
## Preset
## Config
:component-preset

View File

@@ -91,6 +91,6 @@ slots:
:component-props
## Preset
## Config
:component-preset

View File

@@ -149,7 +149,7 @@ slots:
:component-props{slug="radio"}
## Preset
## Config
:component-preset

View File

@@ -57,6 +57,6 @@ props:
:component-props
## Preset
## Config
:component-preset

View File

@@ -74,6 +74,6 @@ props:
:component-props
## Preset
## Config
:component-preset

View File

@@ -253,6 +253,6 @@ Use the `#error` slot to set the custom content for error.
:component-props
## Preset
## Config
:component-preset

View File

@@ -419,6 +419,6 @@ componentProps:
:component-props
## Preset
## Config
:component-preset

View File

@@ -58,6 +58,6 @@ Use the `#badge` slot to customize the link badge. You will have access to the `
:component-props
## Preset
## Config
:component-preset

View File

@@ -236,6 +236,6 @@ componentProps:
:component-props
## Preset
## Config
:component-preset

View File

@@ -136,6 +136,6 @@ Use the `#first` and `#last` slots to set the content of the first and last butt
:component-props
## Preset
## Config
:component-preset

View File

@@ -73,6 +73,6 @@ You can also pass a `slot` property to customize a specific item.
:component-props
## Preset
## Config
:component-preset

View File

@@ -63,6 +63,6 @@ Set the `fullscreen` prop to `true` to enable it.
:component-props
## Preset
## Config
:component-preset

View File

@@ -57,6 +57,6 @@ defineShortcuts({
:component-props
## Preset
## Config
:component-preset

View File

@@ -53,6 +53,6 @@ Use the `#panel` slot to fill the content of the panel. You will have access to
:component-props
## Preset
## Config
:component-preset

View File

@@ -46,6 +46,6 @@ slots:
:component-props
## Preset
## Config
:component-preset

View File

@@ -31,6 +31,6 @@ Use the `popper` prop to customize the popper instance.
:component-props
## Preset
## Config
:component-preset

View File

@@ -291,6 +291,6 @@ Slots defined in the `<UNotifications />` component are automatically passed dow
:component-props
## Preset
## Config
:component-preset

View File

@@ -24,6 +24,6 @@ Use the `#footer` slot to fill the footer.
:component-props
## Preset
## Config
:component-preset

View File

@@ -14,6 +14,6 @@ links:
:component-props
## Preset
## Config
:component-preset

View File

@@ -16,6 +16,6 @@ Use to show a placeholder while content is loading.
:component-props
## Preset
## Config
:component-preset

View File

@@ -114,6 +114,6 @@ Use the `default` slot to add content to the divider.
:component-props
## Preset
## Config
:component-preset