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

import * as React from 'react';
import type { Meta } from '@storybook/react';
import type { Props } from './TitleTransitionNotification.dom.js';
import { TitleTransitionNotification } from './TitleTransitionNotification.dom.js';

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

const { i18n } = window.SignalContext;

export function Default(): React.JSX.Element {
  return <TitleTransitionNotification oldTitle="alice.01" i18n={i18n} />;
}
