Spaces:
Sleeping
Sleeping
Download components/TiktokIcon.tsx from codebybrody/codebydante: direct link, hf CLI and curl.
- Browser
- Download file 806 Bytes
-
https://huggingface.co/spaces/codebybrody/codebydante/resolve/main/components/TiktokIcon.tsx
- Command line
-
hf download hf://spaces/codebybrody/codebydante/components/TiktokIcon.tsx
-
curl -L -o TiktokIcon.tsx https://huggingface.co/spaces/codebybrody/codebydante/resolve/main/components/TiktokIcon.tsx
806 Bytes
| 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> | |
| ); | |
| }; | |