@c8s/youtube
Usage
/**
* As to prepare of using the `Youtube`
*
* ```sh
* yarn add @c8s/youtube @c8s/theme react @types/react styled-components @types/styled-components
* ```
*/
import Youtube from '@c8s/youtube';
import {Theme, theme} from '@c8s/theme';
Example
() => (
<Theme theme={theme}>
{/* ... */}
<Youtube
videoId="psQkDS3zqRg"
theme={{width: '50vw', height: '45vh'}}
/>
{/* ... */}
</Theme>
);
Contributors
Thanks goes to these wonderful people (emoji key):
純 |
Aki-Japan |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!