UNPKG

react-all-player

Version:

react-all-player is a simple, lightweight, accessible and customizable React media player that supports modern browsers.

14 lines (13 loc) 732 B
import * as React from 'react'; export interface IndicatorRef { show(shouldReshow?: boolean): void; hide(): void; } export declare const createIndicator: <T>(component: React.ForwardRefRenderFunction<IndicatorRef, T>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<T> & React.RefAttributes<IndicatorRef>>; interface BaseIndicatorProps extends React.HTMLAttributes<HTMLDivElement> { className?: string; animationTime?: number; } export declare const BaseIndicator: React.ForwardRefExoticComponent<BaseIndicatorProps & React.RefAttributes<IndicatorRef>>; declare const Indicator: React.ForwardRefExoticComponent<BaseIndicatorProps & React.RefAttributes<IndicatorRef>>; export default Indicator;