Field Notes
    Preparing search index...

    Function useActiveTool

    • [activeToolName, setTool] — re-renders on tool switches.

      Returns [toolName: string, setTool: (name: string) => void]