@devbookhq/docusaurus-code-video-plugin
Version:
Add a video to a Docusaurus code block and highlight code lines as the video plays.
6 lines (5 loc) • 396 B
JavaScript
import React from 'react';
function PlayIcon({ className = '' }) {
return (<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className={`feather feather-play ${className}`}><polygon points="5 3 19 12 5 21 5 3"></polygon></svg>);
}
export default PlayIcon;