Spaces:
Sleeping
Sleeping
File size: 806 Bytes
7b0525c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | import React from 'react';
interface TiktokIconProps {
size?: number;
style?: React.CSSProperties;
color?: string;
className?: string; // Add className prop
}
export const TiktokIcon: React.FC<TiktokIconProps> = ({ size = 24, style, color = 'currentColor', className }) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
style={style}
className={className} // Pass className to svg
>
<path d="M9 12a4 4 0 1 0 4 4V4a5 5 0 0 0 5 5" />
</svg>
);
};
|