scrimba
Frontend Career Path
Advanced React
React Router
Search Params Intro
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Search Params Intro
Expand for more info
pages
Host
HostVanPricing.jsx
run
preview
console
import React from "react"
import { useOutletContext } from "react-router-dom"

export default function HostVanPricing() {
const { currentVan } = useOutletContext()
return (
<h3 className="host-van-price">${currentVan.price}<span>/day</span></h3>
)
}
Console
/vans
-7:16