@livetv-app/tvguide
Version:
An Android TV Live Channels-like Electronic Programme Guide for React DOM and React Native applications.
24 lines (23 loc) • 774 B
TypeScript
import React = require('react');
import type { TextProps } from 'react-native';
export interface TimeCellProps {
start: Date;
}
export declare function TimeCell(props: TimeCellProps): JSX.Element;
export interface TimeProps {
time?: Date;
interval?: number;
format?: (time: Date) => string;
/** React Native only */
style?: TextProps['style'];
/** React DOM only */
className?: React.HTMLAttributes<HTMLSpanElement>['className'];
}
export declare function Time(props: TimeProps): JSX.Element;
export interface TimeListProps {
start: Date;
onResize?: (width: number) => void;
}
export declare function TimeList(props: TimeListProps): JSX.Element;
export declare const CLASS_PREFIX = "tvguide-header";
export declare const css: string;