Package:
@hexos/react-coreHook that retrieves a registered frontend tool by name.
Returns the FrontendToolDefinition if a tool with the given name is registered
in frontendToolsAtom, or undefined if not found.
function useFrontendTool<TInput, TOutput>(name: string): FrontendToolDefinition<TInput, TOutput> | undefinedParameters
name
string