owncast/web/components/action-buttons/NotifyButton.tsx

16 lines
366 B
TypeScript
Raw Normal View History

import { Button } from 'antd';
2022-07-10 08:56:31 +02:00
import { BellFilled } from '@ant-design/icons';
import s from './ActionButton.module.scss';
interface Props {
onClick: () => void;
}
export default function NotifyButton({ onClick }: Props) {
return (
2022-07-10 08:56:31 +02:00
<Button type="primary" className={`${s.button}`} icon={<BellFilled />} onClick={onClick}>
Notify
</Button>
);
}