2022-05-30 06:52:38 +02:00
|
|
|
import { Button } from 'antd';
|
2022-07-10 08:56:31 +02:00
|
|
|
import { BellFilled } from '@ant-design/icons';
|
2022-05-30 06:52:38 +02:00
|
|
|
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-07-10 08:56:31 +02:00
|
|
|
<Button type="primary" className={`${s.button}`} icon={<BellFilled />} onClick={onClick}>
|
2022-06-27 08:01:52 +02:00
|
|
|
Notify
|
|
|
|
</Button>
|
2022-05-30 06:52:38 +02:00
|
|
|
);
|
|
|
|
}
|