1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 20:28:28 -04:00

15 lines
399 B
TypeScript

import dynamic from "next/dynamic";
import type { ReactPlayerProps } from "react-player";
import styles from "./Video.module.scss";
const ReactPlayer = dynamic(() => import("react-player"));
const Video = (props: ReactPlayerProps) => (
<div className={styles.wrapper}>
<ReactPlayer className={styles.react_player} width="100%" height="100%" {...props} />
</div>
);
export default Video;