silverwolf-x/project / packages /next /src /client /components /render-from-template-context.tsx
silverwolf-x's picture
download
raw
293 Bytes
'use client'
import React, { useContext, type JSX } from 'react'
import { TemplateContext } from '../../shared/lib/app-router-context.shared-runtime'
export default function RenderFromTemplateContext(): JSX.Element {
const children = useContext(TemplateContext)
return <>{children}</>
}

Xet Storage Details

Size:
293 Bytes
·
Xet hash:
1affca7ec2939498cdbb946885d8ea43a7e1b4417103a3ce1fa82cb25eb5d649

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.