cetirizine

An experimental matrix client written in reactjs utilizing tailwind and storybook
git clone git://archive.git.mtrnord.blog/MTRNord/cetirizine.git
Log | Files | Refs | README | LICENSE

undecryptableEvent.stories.tsx (1020B)


      1 import { Meta, StoryObj } from '@storybook/react';
      2 import { UndecryptableEvent } from './unknownEvent';
      3 
      4 const meta: Meta<typeof UndecryptableEvent> = {
      5     title: 'Chat/Events/UndecryptableEvent',
      6     component: UndecryptableEvent,
      7 };
      8 
      9 export default meta;
     10 type Story = StoryObj<typeof UndecryptableEvent>;
     11 
     12 export const UndecryptableEventEvent: Story = {
     13     name: "Undecryptable Event",
     14     args: {
     15         event: {
     16             content: {
     17                 avatar_url: "mxc://example.org/SEsfnsuifSDFSSEF",
     18                 displayname: "Alice Margatroid",
     19                 membership: "join",
     20                 reason: "Looking for support"
     21             },
     22             event_id: "$143273582443PhrSn:example.org",
     23             origin_server_ts: 1432735824653,
     24             room_id: "!jEsUZKDJdhlrceRyVU:example.org",
     25             sender: "@example:example.org",
     26             state_key: "@alice:example.org",
     27             type: "m.room.member",
     28             unsigned: {
     29                 "age": 1234
     30             }
     31         }
     32 
     33     }
     34 };