@simply-stream/react-components
Version:
A set of common components that rely on simply-stream systems or are used by them
15 lines • 627 B
TypeScript
import { PropsWithChildren } from "react";
import { Quality } from './TwitchRandomClips';
import { HelixClip } from '@twurple/api';
import { Clip } from '../types/Clip';
export type TwitchClipProps = {
clip: Clip | HelixClip;
onClipStarted?: () => void;
onClipEnded?: () => void;
classNames?: string;
quality?: Quality;
skipOnError?: boolean;
};
declare const TwitchClip: ({ clip, onClipStarted, onClipEnded, children, classNames, quality, skipOnError, }: PropsWithChildren<TwitchClipProps>) => import("react/jsx-runtime").JSX.Element;
export default TwitchClip;
//# sourceMappingURL=TwitchClip.d.ts.map