import { UIRenderHtmlCardProps } from '../../toolkit/toolkit-types';
import thaiCounterStyle from '@jsamr/counter-style/presets/thai';
const html = `
- One
- Two
- Three
- Four
- Five
- Six
- Seven
- Eight
`;
const customListThaiConfig: UIRenderHtmlCardProps = {
title: 'Thai List Style Type',
props: {
source: {
html
},
customListStyleSpecs: {
thai: {
type: 'textual',
counterStyleRenderer: thaiCounterStyle
}
}
},
config: {
importStatements: [
{
package: '@jsamr/counter-style/presets/thai',
default: 'thaiCounterStyle'
}
],
exprSrcMap: {
counterStyleRenderer: 'thaiCounterStyle'
}
}
};
export default customListThaiConfig;