1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| import type { FC } from 'react'
| import React from 'react'
|
| type IconProps = {
| icon: any
| className?: string
| [key: string]: any
| }
|
| const Icon: FC<IconProps> = ({ icon, className, ...other }) => {
| return (
| <img src={icon} className={`h-3 w-3 ${className}`} {...other} alt="icon" />
| )
| }
|
| export default Icon
|
|