rtl for examples
This commit is contained in:
parent
9eb5529c9c
commit
584a3646fe
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/pashto-inflector",
|
"name": "@lingdocs/pashto-inflector",
|
||||||
"version": "3.4.6",
|
"version": "3.4.7",
|
||||||
"author": "lingdocs.com",
|
"author": "lingdocs.com",
|
||||||
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
||||||
"homepage": "https://verbs.lingdocs.com",
|
"homepage": "https://verbs.lingdocs.com",
|
||||||
|
|
|
@ -34,7 +34,7 @@ function Examples(props: ({
|
||||||
const examples = "children" in props ? props.children : props.ex;
|
const examples = "children" in props ? props.children : props.ex;
|
||||||
const Example = ({ children: text }: { children: PsStringWSub }) => (
|
const Example = ({ children: text }: { children: PsStringWSub }) => (
|
||||||
<div className={props.lineHeight !== undefined ? `mb-${props.lineHeight}` : `mt-1 mb-3`}>
|
<div className={props.lineHeight !== undefined ? `mb-${props.lineHeight}` : `mt-1 mb-3`}>
|
||||||
<div>
|
<div dir="rtl">
|
||||||
<Pashto opts={props.opts}>{text}</Pashto>
|
<Pashto opts={props.opts}>{text}</Pashto>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in New Issue