preact-spatial-navigation
Version:
A powerful Preact library for TV-style spatial navigation with LRUD algorithm, virtualized lists/grids, and smart TV support
13 lines • 435 B
TypeScript
/**
* Props for DefaultFocus component
*/
export interface DefaultFocusProps {
/** Whether to enable default focus on mount */
enabled?: boolean;
}
/**
* DefaultFocus - Automatically focuses the first focusable element on mount
* Place this component within a section to auto-focus on initial render
*/
export declare function DefaultFocus({ enabled }?: DefaultFocusProps): null;
//# sourceMappingURL=DefaultFocus.d.ts.map