🎥 Make videos programmatically with React
import styled from 'styled-components';
const Container = styled.svg`
position: absolute;
transform: rotate(90deg);
`;
const color2 = '#0B84F3';
export const Triangle: React.FC<{
size: number;
opacity: number;
color?: string;
}> = ({size, opacity, color = color2}) => {
return (
<Container
width={size}
height={size}
style={{
opacity,
width: size,
height: size,
}}
viewBox="0 0 400 400"
>
<g stroke={color} strokeWidth="100" strokeLinejoin="round">
<path
fill={color}
d="M 102 272 a 196 100 0 0 0 195 5 A 196 240 0 0 0 200 102.259 A 196 240 0 0 0 102 272 z"
/>
</g>
</Container>
);
};