useSvgExportContext

See source code

Returns the current SVG export context. Returns null if the component isn't being rendered for an SVG export.

function useSvgExportContext(): null | SvgExportContext
Prev
useSharedSafeId
Next
useTldrawUser