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 • 531 B
TypeScript
import type { ComponentChildren, JSX } from 'preact';
import type { SpatialNavigationNodeRef } from '../types';
type Props = {
children: ComponentChildren;
style?: JSX.CSSProperties;
direction: 'horizontal' | 'vertical';
alignInGrid?: boolean;
};
export declare const SpatialNavigationView: import("preact").FunctionalComponent<import("preact/compat").PropsWithoutRef<Props> & {
ref?: import("preact").Ref<SpatialNavigationNodeRef> | undefined;
}>;
export {};
//# sourceMappingURL=SpatialNavigationView.d.ts.map