18 lines
431 B
TypeScript
18 lines
431 B
TypeScript
import React from "react";
|
|
import classes from "./classes.module.scss";
|
|
import Image from "next/image";
|
|
import WarningIcon from "@Assets/Icons/warning.svg";
|
|
|
|
type IProps = {};
|
|
type IState = {};
|
|
|
|
export default class WarningBadge extends React.Component<IProps, IState> {
|
|
public override render(): JSX.Element {
|
|
return (
|
|
<div className={classes["root"]}>
|
|
<Image src={WarningIcon} alt="warning icon" />
|
|
</div>
|
|
);
|
|
}
|
|
}
|