aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test-utils/ShowMore.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/test-utils/ShowMore.js')
-rw-r--r--openecomp-ui/test-utils/ShowMore.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/openecomp-ui/test-utils/ShowMore.js b/openecomp-ui/test-utils/ShowMore.js
new file mode 100644
index 0000000000..a01ae6a5c9
--- /dev/null
+++ b/openecomp-ui/test-utils/ShowMore.js
@@ -0,0 +1,10 @@
+import React from 'react';
+
+const ShowMore = ({children}) => {
+ if (children.length > 50) {
+ return (<div>Show Message With More Mock</div>);
+ } else {
+ return (<div>Show Message Mock</div>);
+ }
+};
+export default ShowMore; \ No newline at end of file