Skip to content

Commit a6cbc5d

Browse files
authored
fix(docs): incorrect type for portal's mount prop (solidjs#725)
1 parent 3897748 commit a6cbc5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/concepts/control-flow/portal.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The content nested within `<Portal>` is rendered and positioned by default at th
2222
/>
2323

2424
This can be changed by passing a `mount` prop to `<Portal>`.
25-
The `mount` prop accepts a function that returns a [DOM node](https://developer.mozilla.org/en-US/docs/Web/API/Node), which will be used as the mount point for the portal content.
25+
The `mount` prop accepts a [DOM node](https://developer.mozilla.org/en-US/docs/Web/API/Node), which will be used as the mount point for the portal content.
2626

2727
```jsx
2828
import { Portal } from "solid-js/web"

0 commit comments

Comments
 (0)