infinity-forge
Version:
16 lines (15 loc) • 339 B
TypeScript
import { PandaPlayerProps } from "./panda-video/index.js";
type PandaVideo = {
type: 'panda-video';
configurations: PandaPlayerProps;
};
type Vimeo = {
type: 'vimeo';
configurations: {
tiago: string;
};
};
export type VideoPlayerProps = ({
type: "panda-video" | "vimeo";
} & PandaVideo) | Vimeo;
export {};