Skip to main content
Glama
index.d.mts1.16 kB
import * as React from 'react'; import { Primitive } from '@radix-ui/react-primitive'; type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>; interface FocusScopeProps extends PrimitiveDivProps { /** * When `true`, tabbing from last item will focus first tabbable * and shift+tab from first item will focus last tababble. * @defaultValue false */ loop?: boolean; /** * When `true`, focus cannot escape the focus scope via keyboard, * pointer, or a programmatic focus. * @defaultValue false */ trapped?: boolean; /** * Event handler called when auto-focusing on mount. * Can be prevented. */ onMountAutoFocus?: (event: Event) => void; /** * Event handler called when auto-focusing on unmount. * Can be prevented. */ onUnmountAutoFocus?: (event: Event) => void; } declare const FocusScope: React.ForwardRefExoticComponent<FocusScopeProps & React.RefAttributes<HTMLDivElement>>; declare const Root: React.ForwardRefExoticComponent<FocusScopeProps & React.RefAttributes<HTMLDivElement>>; export { FocusScope, type FocusScopeProps, Root };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kkShrihari/miEAA3_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server