Skip to content

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Oct 24, 2024
1 parent 7395ffa commit 503b180
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion docs/headless-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function closeModal() {
<HeadlessModal
ref="modalRef"
v-slot="{
afterLeave,
close,
emit,
getChildModal,
Expand Down Expand Up @@ -74,7 +75,8 @@ export default function UserEdit({ ...props }) {

return (
<HeadlessModal ref={modalRef} {...props}>
{({ close,
{({ afterLeave,
close,
emit,
getChildModal,
getParentModal,
Expand Down
8 changes: 4 additions & 4 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ After installing the package, you can link the React or Vue package into your pr

::: code-group

```bash [React]
npm install vendor/inertiaui/modal/react
```

```bash [Vue]
npm install vendor/inertiaui/modal/vue
```

```bash [React]
npm install vendor/inertiaui/modal/react
```

:::

## NPM Installation
Expand Down

0 comments on commit 503b180

Please sign in to comment.