mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 12:56:21 -04:00
13 lines
366 B
TypeScript
13 lines
366 B
TypeScript
import ReactPlayer from "react-player/lazy";
|
|
import type { ReactPlayerProps } from "react-player";
|
|
|
|
import styles from "./FullPageVideo.module.scss";
|
|
|
|
export default function Video(props: ReactPlayerProps) {
|
|
return (
|
|
<div className={styles.wrapper}>
|
|
<ReactPlayer className={styles.react_player} width="100%" height="100%" {...props} />
|
|
</div>
|
|
);
|
|
}
|