UNPKG

@livetv-app/tvguide

Version:

An Android TV Live Channels-like Electronic Programme Guide for React DOM and React Native applications.

28 lines (27 loc) 956 B
/// <reference types="react" /> import { Channel, Programme } from '../types'; import { Selection } from './context'; export interface LayoutChangeEvent { x: number; y: number; width: number; height: number; } export interface DebugViewProps { channels: Channel[]; programmes: Programme[]; selection: Selection; setSelectedChannel: (channel: Channel | null) => void; setSelectedProgramme: (programme: Programme | null) => void; setSelectedTime: (time: Date) => void; leftPosition: Date; setLeftPosition: (leftPosition: Date) => void; width: number; scrollTop: Channel | null; scrollBottom: Channel | null; onLayout?: (event: LayoutChangeEvent) => void; onKeypress?: (event: 'select' | 'up' | 'down' | 'left' | 'right') => void; } export default function DebugView(props: DebugViewProps): JSX.Element; export declare const CLASS_PREFIX = "tvguide-debug"; export declare const css: string;