1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-11 17:42:48 +00:00

UI done for video archiving

This commit is contained in:
2018-08-23 00:07:08 -05:00
parent 5a542e0ffb
commit 94bac26903
30 changed files with 393 additions and 68 deletions

View File

@@ -0,0 +1,16 @@
import React from 'react';
import './embedded-youtube.scss';
interface IProps {
id: string;
className?: string;
}
export const EmbeddedYoutube = ({ id, className }: IProps) => {
const src = `https://www.youtube.com/embed/${id}`;
return (
<div className={`embedded-youtube ${className}`}>
<iframe src={src} className="embedded-youtube__iframe" allowFullScreen />
</div>
);
};