Skip to content

Commit

Permalink
chore: add console log of displayResult
Browse files Browse the repository at this point in the history
  • Loading branch information
phanshiyu committed Apr 22, 2024
1 parent 9917b02 commit 3a851f0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion example/application/container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,13 @@ const Viewer: React.FunctionComponent<ViewerProps> = ({ document }): React.React
`}
>
{isSvg ? (
<__unsafe__not__for__production__v2__SvgRenderer document={document.document} ref={svgRef} />
<__unsafe__not__for__production__v2__SvgRenderer
document={document.document}
ref={svgRef}
onResult={(r) => {
console.log(r);
}}
/>
) : (
<FrameConnector
source={document.frameSource}
Expand Down

0 comments on commit 3a851f0

Please sign in to comment.