Skip to content

The open alternative to Salesforce, designed for AI.

314 B
Raw Blame
import { createContext } from 'react';

export type WorkspaceSurfaceHeaderPortalContextValue = {
  title: HTMLElement | null;
  actions: HTMLElement | null;
};

export const WorkspaceSurfaceHeaderPortalContext =
  createContext<WorkspaceSurfaceHeaderPortalContextValue>({
    title: null,
    actions: null,
  });