jrs-react 1.1.22 → 1.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jrs-react",
3
- "version": "1.1.22",
3
+ "version": "1.1.23",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.es.js",
@@ -2,7 +2,7 @@ import React from 'react'
2
2
  import JRSubmit from './JRSubmit'
3
3
 
4
4
 
5
- export default function JRTest (){
5
+ export function JRTest (){
6
6
  return 'I am JRTest string'
7
7
  }
8
8
 
@@ -20,7 +20,7 @@ const FreeType=({tag:Tag,config,me,className})=>{
20
20
  }
21
21
  }
22
22
 
23
- export class JRTestReact extends JRSubmit {
23
+ export default class JRTestReact extends JRSubmit {
24
24
  renderMe(){
25
25
  return <div style={{flex:1}}>JRTestReact extends JRSubmit</div>
26
26
  }
package/src/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import JRSubmit from './components/JRSubmit'
2
2
  import JRFrame from './components/JRFrame/JRFrame'
3
3
  // import JRTable from './components/JRTable/JRTable'
4
- import JRTest,{JRTestReact} from './components/JRTest'
4
+ import JRTestReact ,{JRTest} from './components/JRTest'
5
5
  export {
6
6
  JRTest,JRTestReact
7
7
  ,JRSubmit,JRFrame//,JRTable