🎥 Make videos programmatically with React
import React from 'react';
const iconStyle: React.CSSProperties = {
width: 20,
height: 20,
flexShrink: 0,
};
export const CanvasZoomIcon: React.FC<{
readonly color: string;
}> = ({color}) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 640 640"
style={iconStyle}
>
<path
fill={color}
d="M272 96C369.2 96 448 174.8 448 272C448 369.2 369.2 448 272 448C174.8 448 96 369.2 96 272C96 174.8 174.8 96 272 96zM272 480C323.7 480 371 461.2 407.3 430L548.7 571.3C554.9 577.5 565.1 577.5 571.3 571.3C577.5 565.1 577.5 554.9 571.3 548.7L430 407.3C461.2 371 480 323.7 480 272C480 157.1 386.9 64 272 64C157.1 64 64 157.1 64 272C64 386.9 157.1 480 272 480zM256 344C256 352.8 263.2 360 272 360C280.8 360 288 352.8 288 344L288 288L344 288C352.8 288 360 280.8 360 272C360 263.2 352.8 256 344 256L288 256L288 200C288 191.2 280.8 184 272 184C263.2 184 256 191.2 256 200L256 256L200 256C191.2 256 184 263.2 184 272C184 280.8 191.2 288 200 288L256 288L256 344z"
/>
</svg>
);
};
export const CanvasFitIcon: React.FC<{
readonly color: string;
}> = ({color}) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 640 640"
style={iconStyle}
>
<path
fill={color}
d="M448 272C448 174.8 369.2 96 272 96C174.8 96 96 174.8 96 272C96 369.2 174.8 448 272 448C369.2 448 448 369.2 448 272zM407.3 430C371 461.2 323.7 480 272 480C157.1 480 64 386.9 64 272C64 157.1 157.1 64 272 64C386.9 64 480 157.1 480 272C480 323.7 461.2 371 430 407.3L571.3 548.7C577.5 554.9 577.5 565.1 571.3 571.3C565.1 577.5 554.9 577.5 548.7 571.3L407.3 430z"
/>
</svg>
);
};
export const CanvasZoomOutIcon: React.FC<{
readonly color: string;
}> = ({color}) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 640 640"
style={iconStyle}
>
<path
fill={color}
d="M272 96C369.2 96 448 174.8 448 272C448 369.2 369.2 448 272 448C174.8 448 96 369.2 96 272C96 174.8 174.8 96 272 96zM272 480C323.7 480 371 461.2 407.3 430L548.7 571.3C554.9 577.5 565.1 577.5 571.3 571.3C577.5 565.1 577.5 554.9 571.3 548.7L430 407.3C461.2 371 480 323.7 480 272C480 157.1 386.9 64 272 64C157.1 64 64 157.1 64 272C64 386.9 157.1 480 272 480zM192 256C183.2 256 176 263.2 176 272C176 280.8 183.2 288 192 288L352 288C360.8 288 368 280.8 368 272C368 263.2 360.8 256 352 256L192 256z"
/>
</svg>
);
};