import type { Meta, StoryObj } from '@storybook/react-webpack5'; import { useRtlDiffI18n, withRTLDiff } from '../../../.storybook/decorators/RtlDiffDecorator'; import InstructionsList from '..'; export default { component: InstructionsList, title: 'Typography/InstructionsList/Tests', tags: ['!autodocs', '!manifest'], } satisfies Meta; type Story = StoryObj; export const RTLDiff: Story = { render: () => { const i18n = useRtlDiffI18n(); return (
); }, ...withRTLDiff({ fixedRows: { heights: 'auto' }, i18n: { initialTransfer: { en: 'Do an initial money transfer', ar: 'قم بإجراء تحويل أموال أولي', }, inviteFriends: { en: 'Invite at least 3 friends to join', ar: 'ادعُ 3 أصدقاء على الأقل للانضمام', }, hiddenFees: { en: 'Paying extra hidden fees for transfers', ar: 'دفع رسوم خفية إضافية على التحويلات', }, badExchangeRate: { en: 'Use bad exchange rate', ar: 'استخدام سعر صرف سيئ' }, verifyProfile: { en: 'Complete your profile verification', ar: 'أكمل التحقق من ملفك الشخصي', }, shareCredentials: { en: 'Share your login credentials with others', ar: 'مشاركة بيانات تسجيل دخولك مع الآخرين', }, }, }), };