wvi-test-ui-components
Advanced tools
Comparing version
{ | ||
"name": "wvi-test-ui-components", | ||
"version": "0.0.149981106", | ||
"version": "0.0.149981107", | ||
"description": "React component library for WVI", | ||
@@ -5,0 +5,0 @@ "main": "src/dist/ui.js", |
@@ -24,4 +24,10 @@ import React from 'react'; | ||
}); | ||
e.fileContent = reader.result; | ||
// Attach the file and its contents to the event. | ||
e.file = file; | ||
e.fileContent = reader.result; | ||
console.log('event in ui component ', e, e.fileContent) | ||
// Execute the props parent change function. | ||
this.props.handleChange(e); | ||
} | ||
@@ -32,8 +38,3 @@ | ||
// Attach the file and its contents to the event. | ||
e.file = file; | ||
console.log('event in ui component ', e) | ||
// Execute the props parent change function. | ||
this.props.handleChange(e); | ||
} | ||
@@ -40,0 +41,0 @@ } |
Sorry, the diff of this file is too big to display
6062714
0