We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 142fb19 commit 5983aa4Copy full SHA for 5983aa4
README.md
@@ -20,7 +20,7 @@ Define a `TunnelPlaceholder` identified by an `id` and decide what properties ar
20
21
Define a placeholder without any render function so it will render any children coming from `Tunnel` components.
22
23
-```js
+```jsx
24
import { TunnelsProvider, TunnelPlaceholder, Tunnel } from 'preact-slots'
25
26
render(
@@ -37,7 +37,7 @@ render(
37
38
### A more complex example: building a Breadcrumb
39
40
41
42
<TunnelsProvider>
43
{/* This will render the breadcrumb */}
0 commit comments