17 lines
302 B
TypeScript
17 lines
302 B
TypeScript
import React from 'react'
|
|
|
|
import './index.scss'
|
|
|
|
interface Props {
|
|
labelType: string
|
|
}
|
|
|
|
class WeaponLabelIcon extends React.Component<Props> {
|
|
render() {
|
|
return (
|
|
<i className={`WeaponLabelIcon ${this.props.labelType}`} />
|
|
)
|
|
}
|
|
}
|
|
|
|
export default WeaponLabelIcon
|