diff --git a/website/docs/how-to/VideoThing.jsx b/website/docs/how-to/VideoThing.jsx new file mode 100644 index 0000000000..29da9df244 --- /dev/null +++ b/website/docs/how-to/VideoThing.jsx @@ -0,0 +1,42 @@ +import React from 'react'; +import Admonition from '@theme/Admonition'; + +const Component = ({ videoUrls, children }) => { + return ( +
+
+ + {children} + Hey! Did you know that the content in this guide is also + available in video format? If that's more your speed, feel + free to check out one of these related videos πŸΏπŸ“½ + + +
+ {videoUrls ? ( + videoUrls.map((url) => ( +
+ +
+ )) + ) : ( + + You need to provide YouTube video URLs for this + component to work properly. + + )} +
+
+
+ ); +}; + +export default Component;