Skip to content

🎥 Make videos programmatically with React

Update TimelineVideoInfo.tsx

Jonny Burger270a59133bb7
diff --git a/packages/cli/src/editor/components/Timeline/TimelineVideoInfo.tsx b/packages/cli/src/editor/components/Timeline/TimelineVideoInfo.tsx
index b11da1d2af..3280c3c601 100644
--- a/packages/cli/src/editor/components/Timeline/TimelineVideoInfo.tsx
+++ b/packages/cli/src/editor/components/Timeline/TimelineVideoInfo.tsx
@@ -17,6 +17,9 @@ const containerStyle: React.CSSProperties = {
const svgStyle: React.CSSProperties = {
height: 20,
+};
+
+const pathStyle: React.CSSProperties = {
color: '#8e44ad',
};
@@ -54,6 +57,7 @@ export const TimelineVideoInfo: React.FC<{
<div style={containerStyle}>
<svg style={svgStyle} role="img" viewBox="0 0 576 512">
<path
+ style={pathStyle}
fill="currentColor"
d="M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z"
/>