@simply-stream/react-components
Version:
A set of common components that rely on simply-stream systems or are used by them
32 lines • 997 B
TypeScript
import { ClipRandomizerAuthentication } from '../util/clip-randomizer';
export type Quality = '1080' | '720' | '480' | '360' | '160';
export type TwitchRandomClipsConfig = {
streamers: string[];
authentication?: ClipRandomizerAuthentication;
allowedClipCreators?: string[];
deniedClipCreators?: string[];
allowedGame?: string;
deniedGame?: string;
hideInfo?: boolean;
information?: {
streamer?: boolean;
game?: boolean;
clip?: boolean;
};
startedAt?: number;
endedAt?: number;
quality?: Quality;
host?: string;
skipClipOnError?: boolean;
};
export type TwitchRandomClipsProps = {
standalone?: boolean;
config: TwitchRandomClipsConfig;
};
export type Streamer = {
login: string;
id?: string;
};
declare const TwitchRandomClips: ({ standalone, config }: TwitchRandomClipsProps) => import("react/jsx-runtime").JSX.Element;
export default TwitchRandomClips;
//# sourceMappingURL=TwitchRandomClips.d.ts.map