summaryrefslogtreecommitdiff
path: root/frontend/app/views/tile/components/tile.handle.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/views/tile/components/tile.handle.js')
-rw-r--r--frontend/app/views/tile/components/tile.handle.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/frontend/app/views/tile/components/tile.handle.js b/frontend/app/views/tile/components/tile.handle.js
new file mode 100644
index 0000000..03b9f88
--- /dev/null
+++ b/frontend/app/views/tile/components/tile.handle.js
@@ -0,0 +1,8 @@
+import React from 'react'
+
+import handles from 'app/views/tile/handles'
+
+export default function TileHandle (props) {
+ const Tile = handles[props.tile.type]
+ return <Tile {...props} />
+}