16 lines
366 B
TypeScript
16 lines
366 B
TypeScript
import { Button } from 'antd';
|
|
import { BellFilled } from '@ant-design/icons';
|
|
import s from './ActionButton.module.scss';
|
|
|
|
interface Props {
|
|
onClick: () => void;
|
|
}
|
|
|
|
export default function NotifyButton({ onClick }: Props) {
|
|
return (
|
|
<Button type="primary" className={`${s.button}`} icon={<BellFilled />} onClick={onClick}>
|
|
Notify
|
|
</Button>
|
|
);
|
|
}
|