preact-spatial-navigation
Version:
A powerful Preact library for TV-style spatial navigation with LRUD algorithm, virtualized lists/grids, and smart TV support
10 lines • 401 B
TypeScript
import type { ComponentChildren } from 'preact';
export declare const useSpatialNavigatorDefaultFocus: () => boolean;
export type DefaultFocusProps = {
children?: ComponentChildren;
enable?: boolean;
};
type Props = DefaultFocusProps;
export declare const DefaultFocus: ({ children, enable }: Props) => import("preact").JSX.Element;
export {};
//# sourceMappingURL=DefaultFocusContext.d.ts.map