mirror of
https://github.com/owncast/owncast.git
synced 2025-01-06 16:47:30 +03:00
20 lines
411 B
TypeScript
20 lines
411 B
TypeScript
import { Button } from 'antd';
|
|
import { NotificationFilled } 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={<NotificationFilled />}
|
|
onClick={onClick}
|
|
>
|
|
Notify
|
|
</Button>
|
|
);
|
|
}
|