inertiax-ui 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ A collection of Svelte components for [Inertia X](https://github.com/buhrmi/iner
|
|
|
4
4
|
|
|
5
5
|
## Modal
|
|
6
6
|
|
|
7
|
-
The Modal component displays an [Inertia X Frame](https://github.com/buhrmi/inertiax#frame-component) within a modal.
|
|
7
|
+
The Modal component displays an [Inertia X Frame](https://github.com/buhrmi/inertiax#frame-component) within a modal. Here you can see the included default style (dark.css), which renders as a bottom sheet on mobile, and centered on the page on desktop.
|
|
8
8
|
|
|
9
9
|

|
|
10
10
|
|
|
@@ -22,7 +22,7 @@ const modal = createModal({
|
|
|
22
22
|
|
|
23
23
|
#### `modal` action
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Inertia X UI also ships with a `modal` action. This is a small wrapper for `createModal` and passes the `href` attribute as the `src` prop.
|
|
26
26
|
|
|
27
27
|
```svelte
|
|
28
28
|
<script>
|