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