2023-10-23 23:11:59 +02:00
|
|
|
import classNames from "clsx"
|
2021-07-04 19:56:05 +02:00
|
|
|
|
2023-08-01 17:22:09 +02:00
|
|
|
export const Icon = (props: React.SVGProps<SVGSVGElement>): JSX.Element => {
|
2021-07-04 19:56:05 +02:00
|
|
|
const { children, className, ...rest } = props
|
2021-05-08 19:52:04 +02:00
|
|
|
|
|
|
|
return (
|
|
|
|
<svg
|
2023-10-23 23:11:59 +02:00
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
viewBox="0 0 24 24"
|
2021-07-04 19:56:05 +02:00
|
|
|
className={classNames(
|
2024-01-28 03:21:11 +01:00
|
|
|
"size-8 fill-current text-black dark:text-white",
|
2023-10-23 23:11:59 +02:00
|
|
|
className,
|
2021-07-04 19:56:05 +02:00
|
|
|
)}
|
2021-05-08 19:52:04 +02:00
|
|
|
{...rest}
|
|
|
|
>
|
|
|
|
{children}
|
|
|
|
</svg>
|
|
|
|
)
|
|
|
|
}
|