aboutsummaryrefslogtreecommitdiffstats
path: root/src/react/TileInfoLine.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/react/TileInfoLine.js')
-rw-r--r--src/react/TileInfoLine.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/react/TileInfoLine.js b/src/react/TileInfoLine.js
new file mode 100644
index 0000000..5b0e2c9
--- /dev/null
+++ b/src/react/TileInfoLine.js
@@ -0,0 +1,7 @@
+import React from 'react';
+
+const TileInfoLine = ({type, className, children, dataTestId}) => (
+ <div className={`sdc-tile-info-line ${type || ''} ${className || ''}`} data-test-id={dataTestId}>{children}</div>
+);
+
+export default TileInfoLine;