1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-12-08 00:44:30 +01:00
.profile/components/Profile/SocialMediaList/SocialMediaIcons/Icon.tsx

20 lines
416 B
TypeScript
Raw Normal View History

import classNames from 'clsx'
2021-07-04 19:56:05 +02:00
export const Icon = (props: React.SVGProps<SVGSVGElement>): JSX.Element => {
2021-07-04 19:56:05 +02:00
const { children, className, ...rest } = props
return (
<svg
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 24 24'
2021-07-04 19:56:05 +02:00
className={classNames(
2021-12-04 15:52:51 +01:00
'h-8 w-8 fill-current text-black dark:text-white',
2021-07-04 19:56:05 +02:00
className
)}
{...rest}
>
{children}
</svg>
)
}