MCPcopy Create free account
hub / github.com/adrianhajdin/stack_overflow_nextjs14 / ParseHTML

Function ParseHTML

components/shared/ParseHTML.tsx:35–45  ·  view source on GitHub ↗
({ data }: Props)

Source from the content-addressed store, hash-verified

33}
34
35const ParseHTML = ({ data }: Props) => {
36 useEffect(() => {
37 Prism.highlightAll();
38 }, [])
39
40 return (
41 <div className={'markdown w-full min-w-full'}>
42 {parse(data)}
43 </div>
44 )
45}
46
47export default ParseHTML

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected