MCPcopy Index your code
hub / github.com/HubSpot/draft-convert / blockToHTML

Function blockToHTML

test/spec/convertToHTML-test.js:845–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843 ]);
844
845 const blockToHTML = next => block => {
846 if (block.type === 'unstyled') {
847 return <testelement />;
848 }
849 return next(block);
850 };
851
852 blockToHTML.__isMiddleware = true;
853

Callers 1

convertToHTMLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…