import { UIRenderHtmlCardProps } from '../../toolkit/toolkit-types'; import arabicIndic from '@jsamr/counter-style/presets/arabicIndic'; const html = `
  1. واحد
  2. اثنين
  3. ثلاثة
  4. أربعة
  5. خمسة
  6. ستة
  7. سبعة
  8. ثمانية
`; const rtlListArabicConfig: UIRenderHtmlCardProps = { title: 'RTL Mode with Arabic Counter Style', props: { source: { html }, renderersProps: { ol: { enableExperimentalRtl: true } }, customListStyleSpecs: { 'arabic-indic': { type: 'textual', counterStyleRenderer: arabicIndic } } }, config: { importStatements: [ { package: '@jsamr/counter-style/presets/arabicIndic', default: 'arabicIndic' } ], exprSrcMap: { counterStyleRenderer: 'arabicIndic' } } }; export default rtlListArabicConfig;