mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-12-12 20:46:52 +01:00
feat: add light mode + rewrite in Tailwind CSS (#15)
This commit is contained in:
14
components/Profile/SocialMediaList/SocialMediaIcons/Icon.tsx
Normal file
14
components/Profile/SocialMediaList/SocialMediaIcons/Icon.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
export const Icon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
|
||||
const { children, ...rest } = props
|
||||
|
||||
return (
|
||||
<svg
|
||||
xmlns='http://www.w3.org/2000/svg'
|
||||
viewBox='0 0 24 24'
|
||||
className='dark:text-white text-black w-8 h-8 fill-current'
|
||||
{...rest}
|
||||
>
|
||||
{children}
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user