hensei-web/components/weapon/WeaponLabelIcon/index.tsx
Justin Edmund 4c5fb3c28d Rename all files and fix imports
* Renaming index.scss files to index.module.scss
* Changing `import from` to `import styles from`
2023-06-23 13:19:38 -07:00

16 lines
339 B
TypeScript

import React from 'react'
import { useRouter } from 'next/router'
import styles from './index.module.scss'
interface Props {
labelType: string
}
const WeaponLabelIcon = (props: Props) => {
const router = useRouter()
return <i className={`WeaponLabelIcon ${props.labelType} ${router.locale}`} />
}
export default WeaponLabelIcon