Skip to content

Commit fe7ccb4

Browse files
committed
docs(core): ensure readme variable names are consistent
1 parent a01bc87 commit fe7ccb4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/svelte-core/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ const { baseElement, container, component, rerender, unmount } = render(
101101
Validate options and prepare document elements for rendering.
102102
103103
```ts
104-
const { baseElement, container, mountOptions } = setup(options, renderOptions)
104+
const { baseElement, container, mountOptions } = setup(
105+
componentOptions,
106+
setupOptions
107+
)
105108
```
106109
107110
| Argument | Type | Description |
@@ -120,7 +123,7 @@ const { baseElement, container, mountOptions } = setup(options, renderOptions)
120123
Mount a Svelte component into the document.
121124

122125
```ts
123-
const { component, unmount, rerender } = mount(Component, options)
126+
const { component, unmount, rerender } = mount(Component, mountOptions)
124127
```
125128

126129
| Argument | Type | Description |

0 commit comments

Comments
 (0)