You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
411 B
20 lines
411 B
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> |
|
); |
|
}
|
|
|