// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import type { JSX } from 'react';

import type { Meta } from '@storybook/react';
import type { PropsType } from './ChatSessionRefreshedNotification.dom.tsx';
import { ChatSessionRefreshedNotification } from './ChatSessionRefreshedNotification.dom.tsx';

const { i18n } = window.SignalContext;

export default {
  title: 'Components/Conversation/ChatSessionRefreshedNotification',
} satisfies Meta<PropsType>;

export function Default(): JSX.Element {
  return <ChatSessionRefreshedNotification i18n={i18n} />;
}
