Home > @tridion-sites/extensions > OptionalBundleEditorHook
Hook for accessing Bundle Editor state when available.
Signature:
export type OptionalBundleEditorHook = () => BundleEditorHookResult | undefined;
References: BundleEditorHookResult
Safe to be used within or outside of the Bundle Editor. undefined
is returned when used outside of Bundle Editor.