import type { Meta, StoryObj } from '@storybook/react-webpack5'; import { useRtlDiffI18n, withRTLDiff } from '../../../.storybook/decorators/RtlDiffDecorator'; import Field from '../../Field/Field'; import TextareaWithDisplayFormat from '..'; export default { component: TextareaWithDisplayFormat, title: 'Forms/TextareaWithDisplayFormat/Tests', tags: ['!autodocs', '!manifest'], } satisfies Meta; type Story = StoryObj; export const RTLDiff: Story = { render: () => { const i18n = useRtlDiffI18n(); return ( <> {}} /> {}} /> {}} /> ); }, ...withRTLDiff({ fixedRows: { heights: 'auto' }, i18n: { value: { en: 'XKQMRTBWJNFL', ar: 'خكقمرتبوجنفل', }, placeholder: { en: 'Enter code', ar: 'أدخل الرمز', }, }, }), };