import { openNotification } from './Notification';

export default {
  title: 'Notification',
};

export const Notification = () => (
  <>
    <button
      onClick={() => {
        openNotification('error', {
          message: 'message',
          description: 'description',
        });
      }}
    >
      Open Error
    </button>
    <button
      onClick={() => {
        openNotification('success', {
          message: 'message',
          description: 'description',
        });
      }}
    >
      Open Success
    </button>
  </>
);
