1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-09-19 22:15:53 +02:00
.profile/components/Profile/SocialMediaList/SocialMediaIcons/Icon.tsx
2022-02-20 15:12:10 +01:00

20 lines
419 B
TypeScript

import classNames from 'classnames'
export const Icon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
const { children, className, ...rest } = props
return (
<svg
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 24 24'
className={classNames(
'h-8 w-8 fill-current text-black dark:text-white',
className
)}
{...rest}
>
{children}
</svg>
)
}