({ data }: Props)
| 33 | } |
| 34 | |
| 35 | const 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 | |
| 47 | export default ParseHTML |
nothing calls this directly
no outgoing calls
no test coverage detected