cleanup Examples
This commit is contained in:
parent
94a9b8d607
commit
b28e828f1e
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "pashto-inflector",
|
||||
"version": "5.7.11",
|
||||
"version": "5.7.12",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "pashto-inflector",
|
||||
"version": "5.7.11",
|
||||
"version": "5.7.12",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "pashto-inflector",
|
||||
"version": "5.7.11",
|
||||
"version": "5.7.12",
|
||||
"author": "lingdocs.com",
|
||||
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
||||
"homepage": "https://verbs.lingdocs.com",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/ps-react",
|
||||
"version": "5.7.11",
|
||||
"version": "5.7.12",
|
||||
"description": "Pashto inflector library module with React components",
|
||||
"main": "dist/components/library.js",
|
||||
"module": "dist/components/library.js",
|
||||
|
|
|
@ -50,12 +50,10 @@ function Examples(props: ({
|
|||
);
|
||||
return Array.isArray(examples) ?
|
||||
<div>
|
||||
{/* @ts-ignore */}
|
||||
{examples.map((example, i) => <Example key={i}>{example}</Example>)}
|
||||
{examples.map((example, i) => <Example key={i}>{example as PsStringWSub}</Example>)}
|
||||
</div>
|
||||
:
|
||||
// @ts-ignore
|
||||
<Example>{examples}</Example>;
|
||||
<Example>{examples as PsStringWSub}</Example>;
|
||||
}
|
||||
|
||||
export default Examples;
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/inflect",
|
||||
"version": "5.7.11",
|
||||
"version": "5.7.12",
|
||||
"description": "Pashto inflector library",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/lib/library.d.ts",
|
||||
|
|
Loading…
Reference in New Issue