mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
docs: rename Preset title to Config
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -148,6 +148,6 @@ Use the `#step-<index>` to alter the HTML being shown for each step.
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -115,7 +115,7 @@ code: |
|
||||
|
||||
:component-props{slug="avatar-group"}
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
|
||||
@@ -145,6 +145,6 @@ You can customize the whole [preset](#preset) by using the `ui` prop.
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -377,7 +377,7 @@ excludedProps:
|
||||
|
||||
:component-props{slug="ButtonGroup"}
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -52,6 +52,6 @@ U
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -194,6 +194,6 @@ As leading and trailing icons are wrapped around a `pointer-events-none` class,
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -136,6 +136,6 @@ props:
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -217,6 +217,6 @@ baseProps:
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -145,6 +145,6 @@ An example is available in the [Create option](#create-option) section.
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -91,6 +91,6 @@ slots:
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -149,7 +149,7 @@ slots:
|
||||
|
||||
:component-props{slug="radio"}
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
|
||||
@@ -57,6 +57,6 @@ props:
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -74,6 +74,6 @@ props:
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -253,6 +253,6 @@ Use the `#error` slot to set the custom content for error.
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -419,6 +419,6 @@ componentProps:
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -236,6 +236,6 @@ componentProps:
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -73,6 +73,6 @@ You can also pass a `slot` property to customize a specific item.
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -63,6 +63,6 @@ Set the `fullscreen` prop to `true` to enable it.
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -57,6 +57,6 @@ defineShortcuts({
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -46,6 +46,6 @@ slots:
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -31,6 +31,6 @@ Use the `popper` prop to customize the popper instance.
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -291,6 +291,6 @@ Slots defined in the `<UNotifications />` component are automatically passed dow
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -24,6 +24,6 @@ Use the `#footer` slot to fill the footer.
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -14,6 +14,6 @@ links:
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -16,6 +16,6 @@ Use to show a placeholder while content is loading.
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
@@ -114,6 +114,6 @@ Use the `default` slot to add content to the divider.
|
||||
|
||||
:component-props
|
||||
|
||||
## Preset
|
||||
## Config
|
||||
|
||||
:component-preset
|
||||
|
||||
Reference in New Issue
Block a user