Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/diegomura/react-pdf
/ renderToString
Function
renderToString
packages/renderer/src/node/renderToString.js:3–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ pdf } from
'../index'
;
2
3
export
const
renderToString = element => {
4
const
instance = pdf(element);
5
return
instance.toString();
6
};
7
8
export
default renderToString;
Callers
nothing calls this directly
Calls
2
pdf
Function · 0.90
toString
Method · 0.45
Tested by
no test coverage detected