2022-05-30 06:52:38 +02:00
|
|
|
import { Button } from 'antd';
|
|
|
|
import { NotificationFilled } from '@ant-design/icons';
|
|
|
|
import s from './ActionButton.module.scss';
|
|
|
|
|
2022-06-27 08:01:52 +02:00
|
|
|
interface Props {
|
|
|
|
onClick: () => void;
|
|
|
|
}
|
2022-05-30 06:52:38 +02:00
|
|
|
|
2022-06-27 08:01:52 +02:00
|
|
|
export default function NotifyButton({ onClick }: Props) {
|
2022-05-30 06:52:38 +02:00
|
|
|
return (
|
2022-06-27 08:01:52 +02:00
|
|
|
<Button
|
|
|
|
type="primary"
|
|
|
|
className={`${s.button}`}
|
|
|
|
icon={<NotificationFilled />}
|
|
|
|
onClick={onClick}
|
|
|
|
>
|
|
|
|
Notify
|
|
|
|
</Button>
|
2022-05-30 06:52:38 +02:00
|
|
|
);
|
|
|
|
}
|